neoscore.core.text_alignment

Enums describing text alignment.

All enum int values are arbitrary and not part of the guaranteed API.

class neoscore.core.text_alignment.AlignmentX[source]

Bases: Enum

Enum defining horizontal text alignments.

LEFT = 1
CENTER = 2
RIGHT = 3
class neoscore.core.text_alignment.AlignmentY[source]

Bases: Enum

Enum defining vertical text alignments.

Only baseline and center alignments are currently supported.

BASELINE = 1
CENTER = 2