ShapeFrame
Overview
ShapeFrame is a class in Aspose.Slides FOSS for Java.
Inherits from: IShapeFrame.
Represents an immutable shape frame with position, size, rotation, and flip properties.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
x | double | Read | Property gets or sets the X coordinate of the frame’s top-left corner |
y | double | Read | |
width | double | Read | Property gets or sets the frame’s width |
height | double | Read | |
rotation | double | Read | |
centerX | double | Read | Property gets the X coordinate of the frame’s center |
centerY | double | Read | Property gets the Y coordinate of the frame’s center |
flipH | NullableBool | Read | Property gets or sets the horizontal flip flag |
flipV | NullableBool | Read | Property gets or sets the vertical flip flag |
rectangle | RectangleF | Read | Property gets the RectangleF defining the frame bounds |
Methods
| Signature | Description |
|---|---|
ShapeFrame(x: double, y: double, width: double, height: double, flipH: NullableBool, flipV: NullableBool, rotationAngle: double) | Creates a new ShapeFrame. |
getX() → double | |
getY() → double | Returns the Y coordinate of the frame’s top-left corner |
getWidth() → double | |
getHeight() → double | |
getRotation() → double | Returns the rotation angle of the frame in degrees |
getCenterX() → double | |
getCenterY() → double | |
getFlipH() → NullableBool | Returns the horizontal flip state (NullableBool) of the frame |
getFlipV() → NullableBool | Returns the vertical flip state (NullableBool) of the frame |
getRectangle() → RectangleF | |
cloneT() → IShapeFrame | Returns a deep copy of the ShapeFrame as IShapeFrame |
equals(obj: Object) → boolean | Returns true if the given object is equal to this ShapeFrame |
hashCode() → int | Returns the hash code for this ShapeFrame |
toString() → String |