public class RectangleShape extends RectangleProjectedShape
Represents a rectangular shape.
| Constructor and Description |
|---|
RectangleShape()
Initializes a new instance of the
RectangleShape class. |
RectangleShape(RectangleF rectangle)
Initializes a new instance of the
RectangleShape class. |
| Modifier and Type | Method and Description |
|---|---|
ShapeSegment[] |
getSegments()
Gets the shape segments.
|
getBounds, getBounds, getBounds, getCenter, getLeftBottom, getLeftTop, getRectangleHeight, getRectangleWidth, getRightBottom, getRightTop, hasSegments, transformpublic RectangleShape()
Initializes a new instance of the RectangleShape class.
public RectangleShape(RectangleF rectangle)
Initializes a new instance of the RectangleShape class.
rectangle - The rectangle.public ShapeSegment[] getSegments()
Gets the shape segments.
Value: The shape segments.getSegments in class ShapeCopyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.