- class neoscore.core.painted_object.PaintedObject
PositionedObjectwhich is painted with a pen (outline) and brush (fill).
This is mostly meant to be used as a superclass for other classes which need this behavior.
- __init__(pos: PointDef, parent: Optional[PositionedObject] = None, brush: Optional[BrushDef] = None, pen: Optional[PenDef] = None)
pos – The position of the object relative to its parent
pen – The pen to draw outlines with.
brush – The brush to fill shapes with.
parent – The parent object or None