public class Marker
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected GraphicsNode |
markerNode
GraphicsNode this marker is associated to
|
protected double |
orient
Rotation angle, about (0, 0) is user space.
|
protected java.awt.geom.Point2D |
ref
Reference point about which the marker should be drawn
|
Constructor and Description |
---|
Marker(GraphicsNode markerNode,
java.awt.geom.Point2D ref,
double orient)
Constructs a new marker.
|
Modifier and Type | Method and Description |
---|---|
GraphicsNode |
getMarkerNode()
Returns the
GraphicsNode that draws this marker. |
double |
getOrient()
Returns the orientation of this marker.
|
java.awt.geom.Point2D |
getRef()
Returns the reference point of this marker.
|
protected double orient
protected GraphicsNode markerNode
protected java.awt.geom.Point2D ref
public Marker(GraphicsNode markerNode, java.awt.geom.Point2D ref, double orient)
markerNode
- the graphics node that represents the markerref
- the reference pointorient
- the orientation of the markerpublic java.awt.geom.Point2D getRef()
public double getOrient()
public GraphicsNode getMarkerNode()
GraphicsNode
that draws this marker.Copyright © 2022 Apache Software Foundation. All Rights Reserved.