public static class GralCanvasStorage.FigureDataSet
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
float |
dx
If not null then this figuredata can be used for dynamic figures.
|
float |
dy
If not null then this figuredata can be used for dynamic figures.
|
java.util.List<GralCanvasStorage.FigureData> |
listData
Or the figure consists of more elements,
then
#data is null. |
float |
x
If not null then this figuredata can be used for dynamic figures.
|
float |
y
If not null then this figuredata can be used for dynamic figures.
|
Constructor and Description |
---|
FigureDataSet() |
Modifier and Type | Method and Description |
---|---|
GralCanvasStorage.Arcus |
addArcline(GralColor color,
float x,
float y,
float dx,
float dy,
int gStart,
int gEnd) |
void |
addData(GralCanvasStorage.FigureData data) |
GralCanvasStorage.FigureDataSet |
addData(GralCanvasStorage.FigureDataSet data)
Add the content from another data set, copy the internal
GralCanvasStorage.FigureData to this. |
GralCanvasStorage.Fillin |
addFillin(GralColor color) |
GralCanvasStorage.PolyLine |
addPolyline(GralColor color,
int width) |
GralCanvasStorage.PolyLine |
addPolyline(GralColor color,
int width,
int variantMask)
Adds a line with some points.
|
GralCanvasStorage.FigureText |
addText(float x,
float y,
java.lang.String text,
GralFont font,
GralColor color) |
void |
init() |
void |
setSpread(float x,
float y,
float dx,
float dy) |
java.lang.String |
toString() |
public final java.util.List<GralCanvasStorage.FigureData> listData
#data
is null.public float x
public float y
public float dx
public float dy
public void init()
public final void setSpread(float x, float y, float dx, float dy)
public final void addData(GralCanvasStorage.FigureData data)
public final GralCanvasStorage.FigureDataSet addData(GralCanvasStorage.FigureDataSet data)
GralCanvasStorage.FigureData
to this.data
- public final GralCanvasStorage.PolyLine addPolyline(GralColor color, int width)
public final GralCanvasStorage.PolyLine addPolyline(GralColor color, int width, int variantMask)
myFigureData.addPolyline(myColor, 1).point(0,0).point(1.5, -2.5);
color
- width
- public final GralCanvasStorage.Arcus addArcline(GralColor color, float x, float y, float dx, float dy, int gStart, int gEnd)
public final GralCanvasStorage.Fillin addFillin(GralColor color)
public final GralCanvasStorage.FigureText addText(float x, float y, java.lang.String text, GralFont font, GralColor color)
public java.lang.String toString()
toString
in class java.lang.Object