Enums

Several enums are used to standardize alignment, line styles, and arrowheads.

Align

Horizontal text alignment:

  • Align.LEFT – left-aligned text

  • Align.CENTER – center-aligned text

  • Align.RIGHT – right-aligned text

VerticalAlign

Vertical text alignment:

  • VerticalAlign.TOP – top-aligned text

  • VerticalAlign.CENTER – vertically centered text

  • VerticalAlign.BOTTOM – bottom-aligned text

ArrowType

Arrowhead style for arrows:

  • ArrowType.TRIANGLE – triangle arrowhead

  • ArrowType.ARROW – classic open arrowhead

  • ArrowType.DIAMOND – diamond arrowhead

  • ArrowType.OVAL – oval arrowhead

  • ArrowType.NONE – no arrowhead

ArrowSize

Arrowhead size (length and width) for arrows

  • ArrowSize.LONG – long arrowhead

  • ArrowSize.MEDIUM – medium arrowhead

  • ArrowSize.SMALL – small arrowhead

LineDash

Stroke dash style for lines:

  • LineDash.SOLID – solid line

  • LineDash.DASHED – dashed line

  • LineDash.DOTTED – dotted line

  • LineDash.SHORT_DASHED – short dashes

  • LineDash.DASH_DOTTED – dash-dot pattern

  • LineDash.LONG_DASH – long dashes

  • LineDash.LONG_DASH_DOTTED – long dash-dot

  • LineDash.LONG_DASH_DOT_DOTTED – long dash-dot-dot