public final class Polygon3DRenderEvent extends PolygonRenderEvent implements I3DRenderEvent
DRAW, FILL, iObjIndex| 构造器和说明 |
|---|
Polygon3DRenderEvent(java.lang.Object oSource)
The constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
PrimitiveRenderEvent |
copy() |
Fill |
getBackground() |
double |
getBrightness() |
Object3D |
getObject3D()
Returns the 3D object associated with this event.
|
Location3D[] |
getPoints3D() |
boolean |
isBehind() |
boolean |
isDoubleSided()
Returns true if double sided polygons (not enclosing a volume)
|
void |
prepare2D(double xOffset,
double yOffset)
Prepares the coordinates to render on 2D plane.
|
void |
reset()
Resets the inner state of current event.
|
void |
setBackground(Fill ifBackground)
Sets the background fill attributes for the polygon
|
void |
setBehind(boolean value)
Sets if this polygon is facing behind(along user's viewing direction).
|
void |
setBrightness(double value)
Sets the brightness of this polygon, the value ranges 0.0 - 1.0.
|
void |
setDoubleSided(boolean value)
Sets if this polygon is double sided.
|
void |
setPoints3D(Location3D[] loa)
Note that setPoints3D must be called with the points in the right order:
that is needed for the right orientation of the polygon.
|
void |
setPoints3D(Location3D[] loa,
boolean inverted)
Note that setPoints3D must be called with the points in the right order:
that is needed for the right orientation of the polygon.
|
draw, fill, getBounds, getLineAttributes, getOutline, getPoints, setOutline, setPointscompareRegular, compareTo, compareTransposed, getDepth, getLabel, isEnabled, setDepth, setEnablesetSourceObjectpublic boolean isDoubleSided()
public void setDoubleSided(boolean value)
value - public boolean isBehind()
public void setBehind(boolean value)
public void setBackground(Fill ifBackground)
PolygonRenderEventsetBackground 在类中 PolygonRenderEventpublic Fill getBackground()
getBackground 在类中 PolygonRenderEventpublic double getBrightness()
public void setBrightness(double value)
public final void setPoints3D(Location3D[] loa) throws ChartException
la - Sets the co-ordinates for each point that defines the polygonChartExceptionpublic final void setPoints3D(Location3D[] loa, boolean inverted) throws ChartException
la - Sets the co-ordinates for each point that defines the polygoninverted - Inverts the orientation of the surface if trueChartExceptionpublic Location3D[] getPoints3D()
public void prepare2D(double xOffset,
double yOffset)
I3DRenderEventprepare2D 在接口中 I3DRenderEventpublic PrimitiveRenderEvent copy()
copy 在类中 PolygonRenderEventpublic void reset()
ChartEventreset 在类中 PolygonRenderEventpublic Object3D getObject3D()
I3DRenderEventgetObject3D 在接口中 I3DRenderEventCopyright © 2005-2008 Actuate Corp. All rights reserved.