|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aspose.imaging.ObjectWithBounds
com.aspose.imaging.Shape
com.aspose.imaging.shapes.RectangleProjectedShape
com.aspose.imaging.shapes.RectangleShape
com.aspose.imaging.shapes.EllipseShape
com.aspose.imaging.shapes.PieShape
com.aspose.imaging.shapes.ArcShape
public final class ArcShape
Represents an arc shape.
| Constructor Summary | |
|---|---|
ArcShape()
Initializes a new instance of the ArcShape class. |
|
ArcShape(RectangleF rectangle,
float startAngle,
float sweepAngle)
Initializes a new instance of the ArcShape class. |
|
ArcShape(RectangleF rectangle,
float startAngle,
float sweepAngle,
boolean isClosed)
Initializes a new instance of the ArcShape class. |
|
| Method Summary | |
|---|---|
RectangleF |
getBounds(Matrix matrix)
Gets the object's bounds. |
RectangleF |
getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds. |
PointF |
getEndPoint()
Gets the ending shape point. |
ShapeSegment[] |
getSegments()
Gets the shape segments. |
PointF |
getStartPoint()
Gets the starting shape point. |
boolean |
isClosed()
Gets a value indicating whether ordered shape is closed. |
void |
isClosed(boolean value)
Sets a value indicating whether ordered shape is closed. |
void |
reverse()
Reverses the order of points for this shape. |
| Methods inherited from class com.aspose.imaging.shapes.PieShape |
|---|
getStartAngle, getSweepAngle, setStartAngle, setSweepAngle |
| Methods inherited from class com.aspose.imaging.shapes.RectangleProjectedShape |
|---|
getBounds, getCenter, getLeftBottom, getLeftTop, getRectangleHeight, getRectangleWidth, getRightBottom, getRightTop, hasSegments, transform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArcShape()
Initializes a new instance of the ArcShape class.
public ArcShape(RectangleF rectangle,
float startAngle,
float sweepAngle)
Initializes a new instance of the ArcShape class.
rectangle - The rectangle.startAngle - The start angle.sweepAngle - The sweep angle.
public ArcShape(RectangleF rectangle,
float startAngle,
float sweepAngle,
boolean isClosed)
Initializes a new instance of the ArcShape class.
rectangle - The rectangle.startAngle - The start angle.sweepAngle - The sweep angle.isClosed - If set to true the arc is closed. The closed arc is actually degenereates to an ellipse.| Method Detail |
|---|
public RectangleF getBounds(Matrix matrix)
Gets the object's bounds.
getBounds in class RectangleProjectedShapematrix - The matrix to apply before bounds will be calculated.
public RectangleF getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
getBounds in class RectangleProjectedShapematrix - The matrix to apply before bounds will be calculated.pen - The pen to use for object. This can influence the object's bounds size.
public PointF getEndPoint()
Gets the ending shape point.
Value: The ending shape point.
getEndPoint in interface IOrderedShapepublic ShapeSegment[] getSegments()
Gets the shape segments.
Value: The shape segments.
getSegments in class PieShapepublic PointF getStartPoint()
Gets the starting shape point.
Value: The starting shape point.
getStartPoint in interface IOrderedShapepublic boolean isClosed()
Gets a value indicating whether ordered shape is closed. When processing closed ordered shape the starting and ending points have no meaning.
Value:True if this ordered shape is closed; otherwise, false.
isClosed in interface IOrderedShapepublic void isClosed(boolean value)
Sets a value indicating whether ordered shape is closed. When processing closed ordered shape the starting and ending points have no meaning.
Value:True if this ordered shape is closed; otherwise, false.
isClosed in interface IOrderedShapepublic void reverse()
Reverses the order of points for this shape.
reverse in interface IOrderedShape
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||