public class ArcRenderEvent extends PrimitiveRenderEvent
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
CLOSED
The closure type for an arc closed by drawing a straight line segment
from the start of the arc segment to the end of the arc segment.
|
static int |
OPEN
The closure type for an open arc with no path segments connecting the two
ends of the arc segment.
|
static int |
SECTOR
The closure type for an arc closed by drawing straight line segments from
the start of the arc segment to the center of the full ellipse and from
that point to the end of the arc segment.
|
DRAW, FILL, iObjIndex| 构造器和说明 |
|---|
ArcRenderEvent(java.lang.Object oSource)
The constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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
|
double |
getAngleExtent() |
Fill |
getBackground() |
Bounds |
getBounds()
Returns the mimimum bounds required to contain the rendering area for
current event.
|
Bounds |
getEllipseBounds()
Returns the full containing bounds of the complete ellipse.
|
double |
getHeight() |
double |
getInnerRadius() |
LineAttributes |
getLineAttributes() |
double |
getOuterRadius() |
LineAttributes |
getOutline() |
double |
getStartAngle() |
int |
getStyle() |
Location |
getTopLeft() |
double |
getWidth() |
void |
reset()
Resets the inner state of current event.
|
void |
setAngleExtent(double angleExtent)
Sets the angle extent for this arc.
|
void |
setBackground(Fill ifBackground)
Sets the backgound for this arc.
|
void |
setBounds(Bounds bo)
Sets the containing bounds of this arc.
|
void |
setEndAngle(double endAngle)
已过时。
Use
#setAngleExtent() instead. |
void |
setHeight(double height)
Sets the height for the containing bounds.
|
void |
setInnerRadius(double innerRadius)
Sets the inner radius for this arc.
|
void |
setOuterRadius(double outerRadius)
Sets the outer radius for this arc.
|
void |
setOutline(LineAttributes outline)
Sets the outline for this arc.
|
void |
setStartAngle(double startAngle)
Sets the start angle for this arc.
|
void |
setStyle(int style) |
void |
setTopLeft(Location loTopLeft)
Sets the top-left location of the containing bounds.
|
void |
setWidth(double width)
Sets the width for the containing bounds.
|
compareRegular, compareTo, compareTransposed, getDepth, getLabel, isEnabled, setDepth, setEnablesetSourceObjectpublic static final int OPEN
public static final int CLOSED
public static final int SECTOR
public void reset()
ChartEventreset 在类中 ChartEventpublic final int getStyle()
public final void setStyle(int style)
public final Location getTopLeft()
public final void setTopLeft(Location loTopLeft)
loTopLeft - The top left co-ordinates of the bounding elliptical box for
the arcpublic final double getAngleExtent()
public final void setAngleExtent(double angleExtent)
angleExtent - The angle extentpublic final void setEndAngle(double endAngle)
#setAngleExtent() instead.endAngle - The angle extentpublic final Fill getBackground()
getBackground 在类中 PrimitiveRenderEventpublic final void setBackground(Fill ifBackground)
ifBackground - The background to set.public double getWidth()
public void setWidth(double width)
radius - The width to set.public double getHeight()
public void setHeight(double height)
radius - The height to set.public final double getStartAngle()
public final void setStartAngle(double startAngle)
startAngle - The startAngle to set.public final void setBounds(Bounds bo)
bo - public Bounds getEllipseBounds()
public Bounds getBounds()
PrimitiveRenderEventgetBounds 在类中 PrimitiveRenderEventpublic final LineAttributes getOutline()
public final void setOutline(LineAttributes outline)
outline - The outline to set.public double getInnerRadius()
public void setInnerRadius(double innerRadius)
innerRadius - public double getOuterRadius()
public void setOuterRadius(double outerRadius)
outerRadius - public PrimitiveRenderEvent copy() throws ChartException
copy 在类中 PrimitiveRenderEventChartExceptionpublic void draw(IDeviceRenderer idr) throws ChartException
PrimitiveRenderEventdraw 在类中 PrimitiveRenderEventChartExceptionpublic void fill(IDeviceRenderer idr) throws ChartException
PrimitiveRenderEventfill 在类中 PrimitiveRenderEventChartExceptionpublic LineAttributes getLineAttributes()
getLineAttributes 在类中 PrimitiveRenderEventCopyright © 2005-2008 Actuate Corp. All rights reserved.