ShapeFrame

Overview

ShapeFrame is a class in Aspose.Slides FOSS for .NET. Inherits from: IShapeFrame, ICloneable.

Represents the geometric frame properties of a shape.

Properties

NameTypeAccessDescription
XfloatReadGets or sets the horizontal coordinate of the frame’s top‑left corner
YfloatRead
WidthfloatReadGets or sets the frame’s width
HeightfloatRead
FlipHNullableBoolRead
FlipVNullableBoolRead
RotationfloatRead
CenterXfloatReadGets the X coordinate of the frame’s center point
CenterYfloatReadGets the Y coordinate of the frame’s center point
Rectangleobject?ReadGets or sets the bounding rectangle object of the frame

Methods

SignatureDescription
ShapeFrame(x: float, y: float, width: float, height: float, flipH: NullableBool, flipV: NullableBool, rotation: float)The rotation angle in degrees.
Clone()A new object with the same property values.
CloneT()Creates a typed copy of the ShapeFrame
Equals(obj: object?)true if all seven fields are equal; otherwise, false.
GetHashCode()Returns a hash code for this instance.

See Also