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.
This class provides 15 methods for working with ShapeFrame objects in Java programs.
Available methods include: ShapeFrame, cloneT, equals, getCenterX, getCenterY, getFlipH, getFlipV, getHeight, getRectangle, getRotation, getWidth, getX, and 3 additional methods.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: centerX, centerY, flipH, flipV, height, rectangle, and 4 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
x | double | Read | Gets the x. |
y | double | Read | Gets the y. |
width | double | Read | Gets the width. |
height | double | Read | Gets the height. |
rotation | double | Read | Gets the rotation. |
centerX | double | Read | Gets the center x. |
centerY | double | Read | Gets the center y. |
flipH | NullableBool | Read | Gets the flip h. |
flipV | NullableBool | Read | Gets the flip v. |
rectangle | RectangleF | Read | Gets the rectangle. |
Methods
| Signature | Description |
|---|---|
ShapeFrame(x: double, y: double, width: double, height: double, flipH: NullableBool, flipV: NullableBool, rotationAngle: double) | Creates a new ShapeFrame. |
getX() → double | Returns the x. |
getY() → double | Returns the y. |
getWidth() → double | Returns the width. |
getHeight() → double | Returns the height. |
getRotation() → double | Returns the rotation. |
getCenterX() → double | Returns the center x. |
getCenterY() → double | Returns the center y. |
getFlipH() → NullableBool | Returns the flip h. |
getFlipV() → NullableBool | Returns the flip v. |
getRectangle() → RectangleF | Returns the rectangle. |
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 |