public class Poly3D extends PolyBase
PolyBase.Point, PolyBase.PolyBaseTree, PolyBase.PolyBaseTreeImpl
Constructor and Description |
---|
Poly3D(double cX,
double cY,
double width,
double height,
double lz,
double hz)
The constructor creates a new Poly given a rectangle.
|
Poly3D(PolyBase.Point[] points,
double lz,
double hz)
The constructor creates a new Poly given an array of points.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor()
Method to return the color of this Poly.
|
double |
getHighZ()
Method to return the high Z coordinate of this Poly.
|
double |
getLowZ()
Method to return the low Z coordinate of this Poly.
|
java.lang.String |
getText()
Method to return the text of this Poly.
|
float |
getTransparency()
Method to return the transparency of this Poly.
|
void |
setColor(java.awt.Color c)
Method to set the color of this Poly.
|
void |
setHighZ(double z)
Method to set the high Z coordinate of this Poly.
|
void |
setLowZ(double z)
Method to set the low Z coordinate of this Poly.
|
void |
setText(java.lang.String t)
Method to set the text of this Poly.
|
void |
setTransparency(float t)
Method to set the transparency of this Poly.
|
clipArc, closestPoint, compare, contains, contains, contains, contains, cropBox, cropBoxComplete, from, from, fromFixp, fromGrid, fromLambda, getArea, getBounds, getBounds2D, getBox, getCenter, getCenterX, getCenterY, getIntersection, getLayer, getLayerOrPseudoLayer, getLineOverlap, getLineSegmentIntersection, getLoopsFromArea, getMaxLength, getMaxSize, getMinSize, getOverlappingEdges, getPathIterator, getPathIterator, getPerimeter, getPoints, getPointsInArea, getPolygon, getPolyTrees, getPort, getStyle, getTextScale, getTreesFromLoops, halfCropBox, intersects, intersects, intersects, isInside, isInside, isPointOnCorner, makePoints, makePoints, polyDistance, polyDistance, polySame, reducePortPoly, rotateType, roundPoints, separation, separationBox, setLayer, setPoint, setPort, setStyle, toString, transform, unRotateType
public Poly3D(PolyBase.Point[] points, double lz, double hz)
points
- the array of coordinates.lz
- the low Z coordinate of the polygon.hz
- the high Z coordinate of the polygon.public Poly3D(double cX, double cY, double width, double height, double lz, double hz)
cX
- the center X coordinate of the rectangle.cY
- the center Y coordinate of the rectangle.width
- the width of the rectangle.height
- the height of the rectangle.lz
- the low Z coordinate of the polygon.hz
- the high Z coordinate of the polygon.public double getHighZ()
public double getLowZ()
public void setHighZ(double z)
z
- the high Z coordinate of this Poly.public void setLowZ(double z)
z
- the low Z coordinate of this Poly.public java.awt.Color getColor()
public void setColor(java.awt.Color c)
c
- the color of this Poly.public float getTransparency()
public void setTransparency(float t)
t
- the transparency of this Poly.public java.lang.String getText()
public void setText(java.lang.String t)
t
- the text of this Poly.