|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.comrom.chart.FillStyle
This class fills an area. It contains the description of how the filling should looks like.
The following code creates the fillings for the columns:
BarDataSerie data1= new BarDataSerie(d1,new FillStyle(GraphicsProvider.getColor(ChartColor.BLUE)));
BarDataSerie data2= new BarDataSerie(d2,new FillStyle(GraphicsProvider.getColor(ChartColor.RED));
| Field Summary | |
float |
alphaValue
clear (0), transparency (0.5), opaque (1). |
ChartColor |
colorFrom
Initial color used for the gradient |
ChartColor |
colorUntil
Final color used for the gradient. |
java.lang.Object |
fillPatern
fill pattern |
static int |
GRADIENT_HORIZONTAL
|
static int |
GRADIENT_VERTICAL
|
boolean |
gradientCyclic
|
int |
gradientType
|
static int |
NO_GRADIENT
|
ChartImage |
textureImage
|
| Constructor Summary | |
FillStyle(ChartColor c)
|
|
FillStyle(ChartColor c,
float f)
|
|
FillStyle(ChartImage i)
|
|
| Method Summary | |
static FillStyle |
createFromString(java.lang.String f)
|
void |
drawRoundRect(ChartGraphics g,
int x1,
int y1,
int x2,
int y2)
|
ChartColor |
getColor()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static int NO_GRADIENT
public static int GRADIENT_HORIZONTAL
public static int GRADIENT_VERTICAL
public java.lang.Object fillPatern
public float alphaValue
public ChartColor colorFrom
public ChartColor colorUntil
public int gradientType
public boolean gradientCyclic
public ChartImage textureImage
| Constructor Detail |
public FillStyle(ChartColor c)
public FillStyle(ChartImage i)
public FillStyle(ChartColor c,
float f)
| Method Detail |
public java.lang.String toString()
public static FillStyle createFromString(java.lang.String f)
f -
public ChartColor getColor()
public void drawRoundRect(ChartGraphics g,
int x1,
int y1,
int x2,
int y2)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||