|
|||||||||
| 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.PolygonShape
com.aspose.imaging.shapes.BezierShape
public final class BezierShape
Represents a bezier spline.
| Constructor Summary | |
|---|---|
BezierShape()
Initializes a new instance of the BezierShape class. |
|
BezierShape(PointF[] points)
Initializes a new instance of the BezierShape class. |
|
BezierShape(PointF[] points,
boolean isClosed)
Initializes a new instance of the BezierShape class. |
|
| Method Summary | |
|---|---|
RectangleF |
getBounds()
Gets the object's bounds. |
RectangleF |
getBounds(Matrix matrix)
Gets the object's bounds. |
RectangleF |
getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds. |
PointF |
getCenter()
Gets the shape's center. |
PointF |
getEndPoint()
Gets the ending shape point. |
ShapeSegment[] |
getSegments()
Gets the shape segments. |
boolean |
hasSegments()
Gets a value indicating whether shape has segments. |
| Methods inherited from class com.aspose.imaging.shapes.PolygonShape |
|---|
getPoints, getStartPoint, isClosed, isClosed, reverse, setPoints, transform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BezierShape()
Initializes a new instance of the BezierShape class.
public BezierShape(PointF[] points)
Initializes a new instance of the BezierShape class.
points - The points array.
public BezierShape(PointF[] points,
boolean isClosed)
Initializes a new instance of the BezierShape class.
points - The points array.isClosed - If set to true the bezier spline is closed.| Method Detail |
|---|
public RectangleF getBounds()
Gets the object's bounds.
Value: The object's bounds.
getBounds in class PolygonShapepublic RectangleF getBounds(Matrix matrix)
Gets the object's bounds.
getBounds in class PolygonShapematrix - The matrix to apply before bounds will be calculated.
public RectangleF getBounds(Matrix matrix,
Pen pen)
Gets the object's bounds.
getBounds in class PolygonShapematrix - 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 getCenter()
Gets the shape's center.
Value: The shape's center.
getCenter in class PolygonShapepublic PointF getEndPoint()
Gets the ending shape point.
Value: The ending shape point.
getEndPoint in interface IOrderedShapegetEndPoint in class PolygonShapepublic ShapeSegment[] getSegments()
Gets the shape segments.
Value: The shape segments.
getSegments in class PolygonShapepublic boolean hasSegments()
Gets a value indicating whether shape has segments.
Value:True if shape has segments; otherwise, false.
hasSegments in class PolygonShape
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||