|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.gvt.Marker
public class Marker
A Marker describes a GraphicsNode with a reference point that can be used to position the Marker at a particular location and a particular policy for rotating the marker when drawing it.
| Field Summary | |
|---|---|
protected GraphicsNode |
markerNode
GraphicsNode this marker is associated to |
protected double |
orient
Rotation angle, about (0, 0) is user space. |
protected Point2D |
ref
Reference point about which the marker should be drawn |
| Constructor Summary | |
|---|---|
Marker(GraphicsNode markerNode,
Point2D ref,
double orient)
Constructs a new marker. |
|
| Method Summary | |
|---|---|
GraphicsNode |
getMarkerNode()
Returns the GraphicsNode that draws this marker. |
double |
getOrient()
Returns the orientation of this marker. |
Point2D |
getRef()
Returns the reference point of this marker. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected double orient
protected GraphicsNode markerNode
protected Point2D ref
| Constructor Detail |
|---|
public Marker(GraphicsNode markerNode,
Point2D ref,
double orient)
markerNode - the graphics node that represents the markerref - the reference pointorient - the orientation of the marker| Method Detail |
|---|
public Point2D getRef()
public double getOrient()
public GraphicsNode getMarkerNode()
GraphicsNode that draws this marker.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||