STRING namespace JJ2+

Text sizes, alignments and modes

Enums

enum Alignment { DEFAULT, LEFT, CENTER, RIGHT } JJ2+
Horizontal alignment of text, see jjTEXTAPPEARANCE::align
enum Mode { NORMAL = 0, DARK = 1, RIGHTALIGN = 2, BOUNCE = 3, SPIN = 4, PALSHIFT = 5 } JJ2+
How drawn text is styled or animated
enum SignTreatment { HIDESIGN, DISPLAYSIGN, SPECIALSIGN } JJ2+
How a special character of text is treated, see jjTEXTAPPEARANCE
enum Size { SMALL = 1, MEDIUM = 0, LARGE = 2 } JJ2+
Size of text

Enum documentation

enum STRING::Alignment JJ2+

Horizontal alignment of text, see jjTEXTAPPEARANCE::align

Enumerators
DEFAULT

Alignment selected by the x coordinate

LEFT

Text starts at the x coordinate

CENTER

Text is centered on the x coordinate

RIGHT

Text ends at the x coordinate

enum STRING::Mode JJ2+

How drawn text is styled or animated

Enumerators
NORMAL
DARK
RIGHTALIGN

Text ends at the given position instead of starting there

BOUNCE
SPIN
PALSHIFT

enum STRING::SignTreatment JJ2+

How a special character of text is treated, see jjTEXTAPPEARANCE

Enumerators
HIDESIGN

The character is left out

DISPLAYSIGN

The character is drawn like any other

SPECIALSIGN

The character has its special meaning