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

NameTypeAccessDescription
xdoubleReadGets the x.
ydoubleReadGets the y.
widthdoubleReadGets the width.
heightdoubleReadGets the height.
rotationdoubleReadGets the rotation.
centerXdoubleReadGets the center x.
centerYdoubleReadGets the center y.
flipHNullableBoolReadGets the flip h.
flipVNullableBoolReadGets the flip v.
rectangleRectangleFReadGets the rectangle.

Methods

SignatureDescription
ShapeFrame(x: double, y: double, width: double, height: double, flipH: NullableBool, flipV: NullableBool, rotationAngle: double)Creates a new ShapeFrame.
getX()doubleReturns the x.
getY()doubleReturns the y.
getWidth()doubleReturns the width.
getHeight()doubleReturns the height.
getRotation()doubleReturns the rotation.
getCenterX()doubleReturns the center x.
getCenterY()doubleReturns the center y.
getFlipH()NullableBoolReturns the flip h.
getFlipV()NullableBoolReturns the flip v.
getRectangle()RectangleFReturns the rectangle.
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