pixelbuf_pi_animation.data.Pixel dataclass

This class represents a single pixel within some Frame. One or more pixels together make up a Frame.

brightness: float dataclass-field

Represents the brightness of a pixel; must be between 0.0 and 1.0, inclusive.

red: int dataclass-field

Represents the red value of a pixel; must be between 0 and 255, inclusive.

green: int dataclass-field

Represents the green value of a pixel; must be between 0 and 255, inclusive.

blue: int dataclass-field

Represents the blue value of a pixel; must be between 0 and 255, inclusive.