public class UniformSeriesStyle extends java.lang.Object implements SeriesStyle
SeriesStyle
using uniform attributes for all elements in all series.Constructor and Description |
---|
UniformSeriesStyle()
Initializes a new instance of the
UniformSeriesStyle class. |
UniformSeriesStyle(com.mindfusion.drawing.Brush fill,
com.mindfusion.drawing.Brush stroke,
double strokeThickness,
com.mindfusion.drawing.DashStyle strokeDashStyle)
Initializes a new instance of the
UniformSeriesStyle class. |
Modifier and Type | Method and Description |
---|---|
com.mindfusion.drawing.Brush |
fill(int seriesIndex,
int dataIndex)
Implements SeriesStyle.fill.
|
com.mindfusion.drawing.Brush |
getUniformFill()
Gets a Brush used to fill all elements of all series uniformly.
|
com.mindfusion.drawing.Brush |
getUniformStroke()
Gets a Brush used to stroke all elements of all series uniformly.
|
com.mindfusion.drawing.DashStyle |
getUniformStrokeDashStyle()
Gets uniform stroke dash style for all elements of all series.
|
java.lang.Double |
getUniformStrokeThickness()
Gets uniform stroke thickness for all elements of all series.
|
void |
setUniformFill(com.mindfusion.drawing.Brush value)
Sets a Brush used to fill all elements of all series uniformly.
|
void |
setUniformStroke(com.mindfusion.drawing.Brush value)
Sets a Brush used to stroke all elements of all series uniformly.
|
void |
setUniformStrokeDashStyle(com.mindfusion.drawing.DashStyle value)
Sets uniform stroke dash style for all elements of all series.
|
void |
setUniformStrokeThickness(double value)
Sets uniform stroke thickness for all elements of all series.
|
com.mindfusion.drawing.Brush |
stroke(int seriesIndex,
int dataIndex)
Implements SeriesStyle.stroke.
|
com.mindfusion.drawing.DashStyle |
strokeDashStyle(int seriesIndex,
int dataIndex)
Implements SeriesStyle.strokeDashStyle.
|
java.lang.Double |
strokeThickness(int seriesIndex,
int dataIndex)
Implements SeriesStyle.strokeThickness.
|
public UniformSeriesStyle()
UniformSeriesStyle
class.public UniformSeriesStyle(com.mindfusion.drawing.Brush fill, com.mindfusion.drawing.Brush stroke, double strokeThickness, com.mindfusion.drawing.DashStyle strokeDashStyle)
UniformSeriesStyle
class.fill
- A Brush used to fill all series elements.stroke
- A Brush used to stroke all series elements.strokeThickness
- Uniform thickness of series elements' strokes.strokeDashStyle
- Uniform dash style of series elements' strokes.public com.mindfusion.drawing.Brush fill(int seriesIndex, int dataIndex)
fill
in interface SeriesStyle
seriesIndex
- An integer index of a Series.dataIndex
- An integer index of a data item in specified series.public com.mindfusion.drawing.Brush stroke(int seriesIndex, int dataIndex)
stroke
in interface SeriesStyle
seriesIndex
- An integer index of a Series.dataIndex
- An integer index of a data item in specified series.public java.lang.Double strokeThickness(int seriesIndex, int dataIndex)
strokeThickness
in interface SeriesStyle
seriesIndex
- An integer index of a Series.dataIndex
- An integer index of a data item in specified series.public com.mindfusion.drawing.DashStyle strokeDashStyle(int seriesIndex, int dataIndex)
strokeDashStyle
in interface SeriesStyle
seriesIndex
- An integer index of a Series.dataIndex
- An integer index of a data item in specified series.public com.mindfusion.drawing.Brush getUniformFill()
public void setUniformFill(com.mindfusion.drawing.Brush value)
public com.mindfusion.drawing.Brush getUniformStroke()
public void setUniformStroke(com.mindfusion.drawing.Brush value)
public java.lang.Double getUniformStrokeThickness()
public void setUniformStrokeThickness(double value)
public com.mindfusion.drawing.DashStyle getUniformStrokeDashStyle()
public void setUniformStrokeDashStyle(com.mindfusion.drawing.DashStyle value)