public class ArcTemplate extends ElementTemplate
Shape definition.| Constructor and Description |
|---|
ArcTemplate(float x,
float y,
float w,
float h,
float a,
float s)
Initializes a new ArcTemplate instance with the specified
bounding rectangle coordinates and start and sweep angles.
|
ArcTemplate(float x,
float y,
float w,
float h,
float a,
float s,
java.awt.Color color,
DashStyle dashStyle,
float width)
Initializes a new ArcTemplate instance with the specified
bounding rectangle coordinates and start and sweep angles.
|
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Element |
toDOM(org.w3c.dom.Document doc) |
getColor, getDashStyle, getElementPen, getWidth, setColor, setDashStyle, setWidth, toDOMpublic ArcTemplate(float x,
float y,
float w,
float h,
float a,
float s)
x - The horizontal position of arc's containing ellipse,
specified as percents of box width.y - The vertical position of arc's containing ellipse,
specified as percents of box height.w - The width of the arc's containing ellipse,
specified as percents of box width.h - The height of the arc's containing ellipse,
specified as percents of box height.a - The start angle of the arc.s - The sweep angle of the arc.public ArcTemplate(float x,
float y,
float w,
float h,
float a,
float s,
java.awt.Color color,
DashStyle dashStyle,
float width)
x - The horizontal position of arc's containing ellipse,
specified as percents of box width.y - The vertical position of arc's containing ellipse,
specified as percents of box height.w - The width of the arc's containing ellipse,
specified as percents of box width.h - The height of the arc's containing ellipse,
specified as percents of box height.a - The start angle of the arc.s - The sweep angle of the arc.color - The color of this segment.dashStyle - The dash style of this segment.width - The width of this segment.public org.w3c.dom.Element toDOM(org.w3c.dom.Document doc)
toDOM in class ElementTemplate