|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graphics.primitive2D.Marker2D
The Marker2D class represents markers in 2d space.
This includes arrows.
| Field Summary | |
static int[][][] |
LINE_END
global variable that defines a specific marker (or arrow) type |
| Method Summary | |
static Boundary |
getBoundingBox(Transform2D xform_context,
java.lang.Object[][] markerdata,
double direction,
double org_x,
double org_y)
Returns the bounding box of the marker with the given properties |
static void |
paint(Device device,
Transform2D xform_context,
java.lang.Object[][] markerdata,
double direction,
double org_x,
double org_y)
Global method that renders a Marker2D specified through
the given markerdata onto the Device given by
device at the coordinate given by org_x and
org_y using the context transformation given by
xform_context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int[][][] LINE_END
| Method Detail |
public static final void paint(Device device,
Transform2D xform_context,
java.lang.Object[][] markerdata,
double direction,
double org_x,
double org_y)
Marker2D specified through
the given markerdata onto the Device given by
device at the coordinate given by org_x and
org_y using the context transformation given by
xform_context. The direction of the marker is specified by
direction.
device - the Device to render the
Marker2D ontoxform_context - the context transformation to usemarkerdata - the data that specifies the Marker2Ddirection - the direction of the Marker2Dorg_x - the x component of the Marker2Ds originorg_y - the y component of the Marker2Ds origin
public static final Boundary getBoundingBox(Transform2D xform_context,
java.lang.Object[][] markerdata,
double direction,
double org_x,
double org_y)
xform_context - The context transformmarkerdata - The format data of the markerdirection - The directionorg_x - The origin x coordinateorg_y - The origin y coordinate
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||