public class PieShape extends EllipseShape
Represents a pie shape.
Constructor and Description |
---|
PieShape()
Initializes a new instance of the
PieShape class. |
PieShape(RectangleF rectangle,
float startAngle,
float sweepAngle)
Initializes a new instance of the
PieShape class. |
Modifier and Type | Method and Description |
---|---|
ShapeSegment[] |
getSegments()
Gets the shape segments.
|
float |
getStartAngle()
Gets or sets the start angle.
|
float |
getSweepAngle()
Gets or sets the sweep angle.
|
void |
setStartAngle(float value)
Gets or sets the start angle.
|
void |
setSweepAngle(float value)
Gets or sets the sweep angle.
|
getBounds, getBounds, getBounds, getCenter, getLeftBottom, getLeftTop, getRectangleHeight, getRectangleWidth, getRightBottom, getRightTop, hasSegments, transform
public PieShape()
Initializes a new instance of the PieShape
class.
public PieShape(RectangleF rectangle, float startAngle, float sweepAngle)
Initializes a new instance of the PieShape
class.
rectangle
- The rectangle.startAngle
- The start angle.sweepAngle
- The sweep angle.public float getStartAngle()
Gets or sets the start angle.
Value: The start angle.public void setStartAngle(float value)
Gets or sets the start angle.
Value: The start angle.public float getSweepAngle()
Gets or sets the sweep angle.
Value: The sweep angle.public void setSweepAngle(float value)
Gets or sets the sweep angle.
Value: The sweep angle.public ShapeSegment[] getSegments()
Gets the shape segments.
Value: The shape segments.getSegments
in class EllipseShape