public abstract class CartesianStrokedAnnotation extends CartesianChartAnnotation
CartesianChartAnnotation
which shape may be stroked (outlined).Modifier and Type | Field and Description |
---|---|
static int |
STROKE_COLOR_PROPERTY_KEY |
static int |
STROKE_WIDTH_PROPERTY_KEY |
HORIZONTAL_ALIGNMENT_PROPERTY_KEY, HORIZONTAL_OFFSET_PROPERTY_KEY, LABEL_FORMAT_PROPERTY_KEY, LABEL_LOCATION_PROPERTY_KEY, VERTICAL_ALIGNMENT_PROPERTY_KEY, VERTICAL_OFFSET_PROPERTY_KEY
ANNOTATION_Z_INDEX
Constructor and Description |
---|
CartesianStrokedAnnotation(CartesianAxis axis)
Creates an instance of the
CartesianStrokedAnnotation using a specified Context . |
Modifier and Type | Method and Description |
---|---|
int |
getStrokeColor()
Gets the current stroke color id that specifies how the shape outline is painted.
|
PathEffect |
getStrokeEffect()
Gets the current effect path.
|
float |
getStrokeWidth()
Gets the current width of the shape stroke outline.
|
void |
setStrokeColor(int value)
Sets the current stroke color id that specifies how the shape outline is painted.
|
void |
setStrokeEffect(PathEffect value)
Sets the current effect path.
|
void |
setStrokeWidth(float value)
Sets the current width of the shape stroke outline.
|
getAxis, setAxis
getLabel, getLabelFormat, getLabelHorizontalAlignment, getLabelHorizontalOffset, getLabelLocation, getLabelSize, getLabelVerticalAlignment, getLabelVerticalOffset, setLabel, setLabelFormat, setLabelHorizontalAlignment, setLabelHorizontalOffset, setLabelLocation, setLabelSize, setLabelVerticalAlignment, setLabelVerticalOffset
getClipToPlotArea, getModel, render, setClipToPlotArea
attach, detach, getCanApplyPalette, getChart, getCollectionIndex, getPalette, getZIndex, invalidatePalette, onPaletteInvalidated, onPaletteUpdated, requestLayout, requestRender, setZIndex, updatePalette
getPaletteFamily, getPaletteFamilyCore, isLoaded, isPaletteApplied, isVisible, measureContent, paletteFamily, postRender, refreshNode, setCanApplyPalette, setPaletteFamily, setVisible, setVisible
getValue, resetPropertyValue, setValue, setValue
public static final int STROKE_COLOR_PROPERTY_KEY
public static final int STROKE_WIDTH_PROPERTY_KEY
public CartesianStrokedAnnotation(CartesianAxis axis)
CartesianStrokedAnnotation
using a specified Context
.public int getStrokeColor()
public void setStrokeColor(int value)
value
- the new stroke color id.public float getStrokeWidth()
public void setStrokeWidth(float value)
value
- the new stroke thickness.public PathEffect getStrokeEffect()
PathEffect
public void setStrokeEffect(PathEffect value)
value
- the new effect path.