|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.newdawn.slick.svg.Figure
public class Figure
A figure that is part of diagram loaded from SVG
| Field Summary | |
|---|---|
static int |
ELLIPSE
Ellipse Type |
static int |
LINE
Line Type |
static int |
PATH
Path Type |
static int |
POLYGON
Polygon Type |
static int |
RECTANGLE
Rectangle Type |
| Constructor Summary | |
|---|---|
Figure(int type,
Shape shape,
NonGeometricData data,
Transform transform)
Create a new figure |
|
| Method Summary | |
|---|---|
NonGeometricData |
getData()
Get the data associated with this figure |
Shape |
getShape()
Get the shape of this figure |
Transform |
getTransform()
Get the transform that was applied to the shape given in the SVG to get it to it's currently state |
int |
getType()
Get the type of this figure |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ELLIPSE
public static final int LINE
public static final int RECTANGLE
public static final int PATH
public static final int POLYGON
| Constructor Detail |
|---|
public Figure(int type,
Shape shape,
NonGeometricData data,
Transform transform)
type - The type of the figureshape - The shape of the figuredata - The other associated datatransform - The transform that was applied to the shape| Method Detail |
|---|
public Transform getTransform()
public int getType()
public Shape getShape()
public NonGeometricData getData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||