neoscore.interface.pen_interface

class neoscore.interface.pen_interface.PenInterface[source]

Bases: object

Interface for a pen controlling path outline appearance.

color: Color
thickness: Unit

The pen thickness. If zero, a cosmetic pixel thickness is used.

pattern: PenPattern
join_style: PenJoinStyle
cap_style: PenCapStyle
qt_object: PyQt5.QtGui.QPen
__init__(color: Color, thickness: Unit, pattern: PenPattern, join_style: PenJoinStyle, cap_style: PenCapStyle) None