|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmodeller.draw.StaticDrawing
public class StaticDrawing
Field Summary | |
---|---|
static java.awt.BasicStroke |
BASICSTROKE
|
static java.awt.BasicStroke |
DASHED_STROKE
|
static int |
EXTRUDING_X
|
static int |
EXTRUDING_Y
|
static int |
EXTRUDING_Z
|
static java.awt.BasicStroke |
FINE_DOTTED_STROKE
|
static int |
GEOMETRY_2D_CIRCLE
|
static int |
GEOMETRY_2D_CLOSED_POLYGON
|
static int |
GEOMETRY_2D_ELLIPSE
|
static int |
GEOMETRY_2D_LINE
|
static int |
GEOMETRY_2D_POLYGON
|
static int |
GEOMETRY_2D_SHAPE
|
static int |
GEOMETRY_2D_TRIANGLE
|
static int |
GEOMETRY_3D_BOX
|
static int |
GEOMETRY_3D_CONE
|
static int |
GEOMETRY_3D_CUBE
|
static int |
GEOMETRY_3D_CYLINDER
|
static int |
GEOMETRY_3D_SPHERE
|
private static java.awt.Shape |
shape
|
Constructor Summary | |
---|---|
StaticDrawing()
|
Method Summary | |
---|---|
static java.awt.BasicStroke |
buildStroke(float scale)
Return a a simple BasicStroke |
static java.awt.Shape |
drawCross(double x,
double y,
double z,
int panelID,
int width,
int height)
Drawing the cursor-cross |
static java.awt.Shape |
drawMarkingBox(java.awt.Shape shape)
Returning a Shape for a (maybe dashed) box, as a frame around of the object-shape |
static java.awt.Shape |
drawMarkingSpot(double x,
double y,
double z,
double scale,
int size,
int panelID)
|
static java.awt.Shape |
drawMarkingSpot(double x,
double y,
double scale,
int size)
Returning a Shape with a single marking-spot |
static java.awt.Shape |
drawMarkingSpots(java.awt.Shape shape,
double scale,
int size)
Returning a Shape, for drawing marking-spots on the coner of the object-shape |
static java.awt.Shape |
drawPaintLine(int x1,
int y1,
int z1,
int x2,
int y2,
int z2,
int panelID,
int width,
int height)
Drawing the help-line |
static java.awt.BasicStroke |
GET_BASICSTROKE(double scale)
|
static java.awt.BasicStroke |
GET_DASHED_STROKE(double scale)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.awt.BasicStroke BASICSTROKE
public static final java.awt.BasicStroke FINE_DOTTED_STROKE
public static final java.awt.BasicStroke DASHED_STROKE
public static final int EXTRUDING_X
public static final int EXTRUDING_Y
public static final int EXTRUDING_Z
public static final int GEOMETRY_2D_LINE
public static final int GEOMETRY_2D_POLYGON
public static final int GEOMETRY_2D_CLOSED_POLYGON
public static final int GEOMETRY_2D_CIRCLE
public static final int GEOMETRY_2D_ELLIPSE
public static final int GEOMETRY_2D_TRIANGLE
public static final int GEOMETRY_2D_SHAPE
public static final int GEOMETRY_3D_SPHERE
public static final int GEOMETRY_3D_CUBE
public static final int GEOMETRY_3D_BOX
public static final int GEOMETRY_3D_CYLINDER
public static final int GEOMETRY_3D_CONE
private static java.awt.Shape shape
Constructor Detail |
---|
public StaticDrawing()
Method Detail |
---|
public static java.awt.BasicStroke GET_DASHED_STROKE(double scale)
public static java.awt.BasicStroke GET_BASICSTROKE(double scale)
public static java.awt.Shape drawCross(double x, double y, double z, int panelID, int width, int height)
x
- y
- width
- height
- scale
-
public static java.awt.Shape drawPaintLine(int x1, int y1, int z1, int x2, int y2, int z2, int panelID, int width, int height)
x1
- y1
- z1
- x2
- y2
- z2
- panelID
- width
- height
- scale
-
public static java.awt.Shape drawMarkingBox(java.awt.Shape shape)
shape
-
public static java.awt.BasicStroke buildStroke(float scale)
scale
-
public static java.awt.Shape drawMarkingSpot(double x, double y, double scale, int size)
x
- y
- scale
- size
-
public static java.awt.Shape drawMarkingSpots(java.awt.Shape shape, double scale, int size)
shape
- scale
- size
-
public static java.awt.Shape drawMarkingSpot(double x, double y, double z, double scale, int size, int panelID)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |