public class PerSeriesStyle extends java.lang.Object implements SeriesStyle
SeriesStyle
using a different set of attributes for each series,
where all elements in a single series have common appearance.Constructor and Description |
---|
PerSeriesStyle()
Initializes a new instance of the
PerSeriesStyle class. |
PerSeriesStyle(java.util.List<com.mindfusion.drawing.Brush> fills,
java.util.List<com.mindfusion.drawing.Brush> strokes,
java.util.List<java.lang.Double> strokeThicknesses,
java.util.List<com.mindfusion.drawing.DashStyle> strokeDashStyles)
Initializes a new instance of the
PerSeriesStyle class. |
Modifier and Type | Method and Description |
---|---|
com.mindfusion.drawing.Brush |
fill(int seriesIndex,
int dataIndex)
Implements
SeriesStyle.fill(int, int) . |
java.util.List<com.mindfusion.drawing.Brush> |
getFills()
Gets a list of brushes, each Brush used to fill all elements of a series.
|
java.util.List<com.mindfusion.drawing.DashStyle> |
getStrokeDashStyles()
Gets a list of dash styles, each style applied to all elements of a series.
|
java.util.List<com.mindfusion.drawing.Brush> |
getStrokes()
Gets a list of brushes, each Brush used to stroke all elements of a series.
|
java.util.List<java.lang.Double> |
getStrokeThicknesses()
Gets a list of stroke thicknesses, each thickness applied to all elements of a series.
|
void |
setFills(java.util.List<com.mindfusion.drawing.Brush> value)
Sets a list of brushes, each Brush used to fill all elements of a series.
|
void |
setStrokeDashStyles(java.util.List<com.mindfusion.drawing.DashStyle> value)
Sets a list of dash styles, each style applied to all elements of a series.
|
void |
setStrokes(java.util.List<com.mindfusion.drawing.Brush> value)
Sets a list of brushes, each Brush used to stroke all elements of a series.
|
void |
setStrokeThicknesses(java.util.List<java.lang.Double> value)
Sets a list of stroke thicknesses, each thickness applied to all elements of a 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 PerSeriesStyle()
PerSeriesStyle
class.public PerSeriesStyle(java.util.List<com.mindfusion.drawing.Brush> fills, java.util.List<com.mindfusion.drawing.Brush> strokes, java.util.List<java.lang.Double> strokeThicknesses, java.util.List<com.mindfusion.drawing.DashStyle> strokeDashStyles)
PerSeriesStyle
class.fills
- A list of brushes, each Brush used to fill all elements of a series.strokes
- A list of brushes, each Brush used to stroke all elements of a series.strokeThicknesses
- A list of stroke thicknesses, each thickness applied to all elements of a series.strokeDashStyles
- A list of dash styles, each style applied to all elements of a series.public com.mindfusion.drawing.Brush fill(int seriesIndex, int dataIndex)
SeriesStyle.fill(int, int)
. Returns a Brush from
the Fills list that matches specified series index.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 java.util.List<com.mindfusion.drawing.Brush> getFills()
public void setFills(java.util.List<com.mindfusion.drawing.Brush> value)
public java.util.List<com.mindfusion.drawing.Brush> getStrokes()
public void setStrokes(java.util.List<com.mindfusion.drawing.Brush> value)
public java.util.List<java.lang.Double> getStrokeThicknesses()
public void setStrokeThicknesses(java.util.List<java.lang.Double> value)
public java.util.List<com.mindfusion.drawing.DashStyle> getStrokeDashStyles()
public void setStrokeDashStyles(java.util.List<com.mindfusion.drawing.DashStyle> value)