|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectStyle
Style2D
LineStyle2D
PolygonStyle2D
MarkStyle2D
public class MarkStyle2D
Style to represent points as small filled and stroked shapes
Field Summary |
---|
Fields inherited from class PolygonStyle2D |
---|
fill, fillComposite |
Fields inherited from class LineStyle2D |
---|
contour, contourComposite, stroke |
Fields inherited from class Style |
---|
maxScale, minScale |
Constructor Summary | |
---|---|
MarkStyle2D()
|
Method Summary | |
---|---|
float |
getRotation()
Returns the shape rotation, in radians |
Shape |
getShape()
Returns the shape to be used to render the mark |
int |
getSize()
Returns the size of the shape, in pixels |
Shape |
getTransformedShape(float x,
float y)
Returns a shape that can be used to draw the mark at the x, y coordinates with appropriated rotation and size (according to the current style) |
void |
setRotation(float f)
Sets the shape rotation, in radians |
void |
setShape(Shape shape)
Sets the shape to be used to render the mark |
void |
setSize(int i)
Sets the size of the shape, in pixels |
String |
toString()
Returns a string representation of this style. |
Methods inherited from class PolygonStyle2D |
---|
getFill, getFillComposite, setFill, setFillComposite |
Methods inherited from class LineStyle2D |
---|
getContour, getContourComposite, getGraphicStroke, getStroke, setContour, setContourComposite, setGraphicStroke, setStroke |
Methods inherited from class Style |
---|
getMaxScale, getMinScale, isScaleInRange, setMinMaxScale |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MarkStyle2D()
Method Detail |
---|
public float getRotation()
public Shape getShape()
public Shape getTransformedShape(float x, float y)
x
- the x coordinate where the mark will be drawny
- the y coordinate where the mark will be drawn
public int getSize()
public void setRotation(float f)
f
- public void setShape(Shape shape)
shape
- public void setSize(int i)
i
- public String toString()
toString
in class PolygonStyle2D
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |