class documentation

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_size 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.
def __init__(self, draw, left, top, foreground):

Fit the desktop animation into the 48px status artwork area.

Parameters
draw:DrawThe drawing context the artwork renders through.
left:intLeft edge of the 48px artwork area in screen pixels.
top:intTop edge of the 48px artwork area in screen pixels.
foreground:intForeground color of the status view.
__slots__: tuple[str, ...] =

Undocumented

draw =

Undocumented

font_size =

Undocumented

foreground =

Undocumented

left =

Undocumented

size =

Undocumented

top =

Undocumented

def _circle(self, x, y, radius, color):

Draw a circle at coordinates relative to the artwork area.

Parameters
x:intX offset within the 48px artwork area.
y:intY offset within the 48px artwork area.
radius:intCircle radius in pixels.
color:intRequested color, overridden by the artwork foreground.
def _text(self, x, y, text, color):

Draw a letter within the artwork at a fixed staggered baseline.

Parameters
x:intX offset within the 48px artwork area.
y:intRequested Y offset, shifted down to the baseline.
text:strThe letter to draw.
color:intRequested color, overridden by the artwork foreground.