class documentation
class InfraredAnimationDisplay:
Constructor: InfraredAnimationDisplay(draw, left, top, foreground)
Fit the built-in desktop animation into the 48px status artwork area.
| Method | __init__ |
Fit the desktop animation into the 48px status artwork area. |
| Class Variable | __slots__ |
Undocumented |
| Instance Variable | draw |
Undocumented |
| Instance Variable | font |
Undocumented |
| Instance Variable | foreground |
Undocumented |
| Instance Variable | left |
Undocumented |
| Instance Variable | size |
Undocumented |
| Instance Variable | top |
Undocumented |
| Method | _circle |
Draw a circle at coordinates relative to the artwork area. |
| Method | _text |
Draw a letter within the artwork at a fixed staggered baseline. |
Fit the desktop animation into the 48px status artwork area.
| Parameters | |
draw:Draw | The drawing context the artwork renders through. |
left:int | Left edge of the 48px artwork area in screen pixels. |
top:int | Top edge of the 48px artwork area in screen pixels. |
foreground:int | Foreground color of the status view. |
Draw a circle at coordinates relative to the artwork area.
| Parameters | |
x:int | X offset within the 48px artwork area. |
y:int | Y offset within the 48px artwork area. |
radius:int | Circle radius in pixels. |
color:int | Requested color, overridden by the artwork foreground. |