Source code for neoscore.core.pen_cap_style

from enum import Enum

[docs]class PenCapStyle(Enum): """Styles controlling how pen strokes are capped. The enum int values are for internal purposes and not guaranteed by the API. """ # Values align with Qt's SQUARE = 0x10 """A square cap that extends beyond the end point by half the pen width""" FLAT = 0x00 """A square cap that does not cover the end point of the path""" ROUND = 0x20 """A rounded cap"""