public class PolygonRenderEvent extends PrimitiveRenderEvent
DRAW, FILL, iObjIndex| Constructor and Description |
|---|
PolygonRenderEvent(java.lang.Object oSource)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveRenderEvent |
copy() |
void |
draw(IDeviceRenderer idr)
Causes this instruction to 'draw' itself on the device renderer
|
void |
fill(IDeviceRenderer idr)
Causes this instruction to 'fill' itself on the device renderer
|
Fill |
getBackground() |
Bounds |
getBounds()
Returns the mimimum bounds required to contain the rendering area for
current event.
|
LineAttributes |
getLineAttributes() |
LineAttributes |
getOutline() |
Location[] |
getPoints() |
void |
reset()
Resets the inner state of current event.
|
void |
setBackground(Fill ifBackground)
Sets the background fill attributes for the polygon
|
void |
setOutline(LineAttributes lia)
Sets the polygon outline attributes
|
void |
setPoints(Location[] la)
Sets the co-ordinates for each point that defines the polygon.
|
compareRegular, compareTo, compareTransposed, getDepth, getLabel, isEnabled, setDepth, setEnablesetSourceObjectpublic PolygonRenderEvent(java.lang.Object oSource)
public final void setPoints(Location[] la)
public final Location[] getPoints()
public Fill getBackground()
getBackground in class PrimitiveRenderEventpublic void setBackground(Fill ifBackground)
public LineAttributes getOutline()
public void setOutline(LineAttributes lia)
public Bounds getBounds() throws ChartException
PrimitiveRenderEventgetBounds in class PrimitiveRenderEventChartException - if not implemented by concrete classpublic PrimitiveRenderEvent copy()
copy in class PrimitiveRenderEventpublic final void draw(IDeviceRenderer idr) throws ChartException
PrimitiveRenderEventdraw in class PrimitiveRenderEventChartExceptionpublic final void fill(IDeviceRenderer idr) throws ChartException
PrimitiveRenderEventfill in class PrimitiveRenderEventChartExceptionpublic void reset()
ChartEventreset in class ChartEventpublic LineAttributes getLineAttributes()
getLineAttributes in class PrimitiveRenderEventCopyright © 2005-2008 Actuate Corp. All rights reserved.