neoscore.core.pen_pattern

class neoscore.core.pen_pattern.PenPattern[source]

Bases: Enum

Pen stroke patterns.

The enum int values are for internal purposes and not guaranteed by the API.

INVISIBLE = 0

No pen pattern. This is equivalent to a fully transparent color.

Instead of using this pattern directly, you may want to use Pen.no_pen() instead.

SOLID = 1

A solid line

DASH = 2

Dashes separated by blank space

DOT = 3

Small dots separated by blank space

DASHDOT = 4

Alternating dashes and dots

DASHDOTDOT = 5

A repeating pattern of one dash and two dots