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

NameTypeAccessDescription
xdoubleReadProperty gets or sets the X coordinate of the frame’s top-left corner
ydoubleRead
widthdoubleReadProperty gets or sets the frame’s width
heightdoubleRead
rotationdoubleRead
centerXdoubleReadProperty gets the X coordinate of the frame’s center
centerYdoubleReadProperty gets the Y coordinate of the frame’s center
flipHNullableBoolReadProperty gets or sets the horizontal flip flag
flipVNullableBoolReadProperty gets or sets the vertical flip flag
rectangleRectangleFReadProperty gets the RectangleF defining the frame bounds

Methods

SignatureDescription
ShapeFrame(x: double, y: double, width: double, height: double, flipH: NullableBool, flipV: NullableBool, rotationAngle: double)Creates a new ShapeFrame.
getX()double
getY()doubleReturns the Y coordinate of the frame’s top-left corner
getWidth()double
getHeight()double
getRotation()doubleReturns the rotation angle of the frame in degrees
getCenterX()double
getCenterY()double
getFlipH()NullableBoolReturns the horizontal flip state (NullableBool) of the frame
getFlipV()NullableBoolReturns the vertical flip state (NullableBool) of the frame
getRectangle()RectangleF
cloneT()IShapeFrameReturns a deep copy of the ShapeFrame as IShapeFrame
equals(obj: Object)booleanReturns true if the given object is equal to this ShapeFrame
hashCode()intReturns the hash code for this ShapeFrame
toString()String

See Also