Enums
Several enums are used to standardize alignment, line styles, and arrowheads.
Align
Horizontal text alignment:
Align.LEFT– left-aligned textAlign.CENTER– center-aligned textAlign.RIGHT– right-aligned text
VerticalAlign
Vertical text alignment:
VerticalAlign.TOP– top-aligned textVerticalAlign.CENTER– vertically centered textVerticalAlign.BOTTOM– bottom-aligned text
ArrowType
Arrowhead style for lines:
ArrowType.TRIANGLE– triangle arrowheadArrowType.ARROW– classic open arrowheadArrowType.DIAMOND– diamond arrowheadArrowType.OVAL– oval arrowheadArrowType.NONE– no arrowhead
LineDash
Stroke dash style for lines:
LineDash.SOLID– solid lineLineDash.DASHED– dashed lineLineDash.DOTTED– dotted lineLineDash.SHORT_DASHED– short dashesLineDash.DASH_DOTTED– dash-dot patternLineDash.LONG_DASH– long dashesLineDash.LONG_DASH_DOTTED– long dash-dotLineDash.LONG_DASH_DOT_DOTTED– long dash-dot-dot