public abstract class Shape extends ObjectWithBounds
The shape. A continuous set of points connected using a specific rule.
| Constructor and Description |
|---|
Shape() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
equals(Object obj)
Check if objects are equal.
|
abstract PointF |
getCenter()
Gets the shape's center.
|
abstract ShapeSegment[] |
getSegments()
Gets the shape segments.
|
abstract int |
hashCode() |
abstract boolean |
hasSegments()
Gets a value indicating whether shape has segments.
|
getBounds, getBounds, getBounds, transformpublic abstract PointF getCenter()
Gets the shape's center.
public abstract ShapeSegment[] getSegments()
Gets the shape segments.
public abstract boolean hasSegments()
Gets a value indicating whether shape has segments.
True if shape has segments; otherwise, false.public abstract boolean equals(Object obj)
ObjectWithBoundsCheck if objects are equal.
equals in class ObjectWithBoundsobj - The other object.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.