|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.eclipse.birt.chart.event.PrimitiveRenderEvent
org.eclipse.birt.chart.event.PolygonRenderEvent
org.eclipse.birt.chart.event.Polygon3DRenderEvent
Polygon3DRenderEvent
Field Summary |
Fields inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent |
DRAW, FILL, iObjIndex |
Constructor Summary | |
Polygon3DRenderEvent(java.lang.Object oSource)
|
Method Summary | |
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 all fields to default value. |
void |
setBackground(Fill ifBackground)
|
void |
setBehind(boolean value)
|
void |
setBrightness(double value)
Sets the brightness of this polygon, the value ranges 0.0 - 1.0. |
void |
setDoubleSided(boolean value)
|
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. |
Methods inherited from class org.eclipse.birt.chart.event.PolygonRenderEvent |
draw, fill, getBounds, getOutline, getPoints, setOutline, setPoints |
Methods inherited from class org.eclipse.birt.chart.event.PrimitiveRenderEvent |
compareRegular, compareTo, compareTransposed, getDepth, setDepth, setSourceObject |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Polygon3DRenderEvent(java.lang.Object oSource)
oSource
- Method Detail |
public boolean isDoubleSided()
public void setDoubleSided(boolean value)
value
- public boolean isBehind()
public void setBehind(boolean value)
value
- public void setBackground(Fill ifBackground)
setBackground
in class PolygonRenderEvent
public Fill getBackground()
getBackground
in class PolygonRenderEvent
public double getBrightness()
public void setBrightness(double value)
public final void setPoints3D(Location3D[] loa) throws ChartException
ChartException
public Location3D[] getPoints3D()
public void prepare2D(double xOffset, double yOffset)
I3DRenderEvent
prepare2D
in interface I3DRenderEvent
xOffset
- yOffset
- public PrimitiveRenderEvent copy()
copy
in class PolygonRenderEvent
public void reset()
PrimitiveRenderEvent
reset
in class PrimitiveRenderEvent
public Object3D getObject3D()
I3DRenderEvent
getObject3D
in interface I3DRenderEvent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |