These tags can be used for formatting AbstractTextMarkers' text style.
| Tag | Explanation |
|---|---|
| MarkerTextPaintTags.DEFAULT | Default style for formatting text |
| MarkerTextPaintTags.LABEL | Style for formatting marker's label |
Table 5.8.7.1 MarkerTextPaintTags
Usage:
1 | //sets LabeledMarker lm LabeledMarker lm = new LabeledMarker(new DotMarker(), meta4); //sets lm's label text color lm.getTextStyle().setColor(MarkerTextPaintTags.LABEL, Color.RED); |
These tags can be used for MarkerLine and MarkerRange styles.
| Tag | Explanation |
|---|---|
| MarkerPaintTags.DEFAULT | Default style for formatting text |
| MarkerPaintTags.LABEL | Style for formatting marker's label |
| MarkerPaintTags.SHADOW | Style for formatting marker's shadow |
Table 5.8.7.2 MarkerTextPaintTags
Usage:
1 | //sets LineMarker line HorizontalMarkerLine line = new HorizontalMarkerLine(axisX); //sets line label's background color line.getPaintStyle().setBackground(MarkerPaintTags.LABEL, Color.BLUE); |