CmxRectangleSpec Class
Represents geometric info specified for a rectangle.
Inheritance Hierarchy
SystemObject
  Aspose.Imaging.FileFormats.Cmx.ObjectModel.SpecsCmxRectangleSpec

Namespace: Aspose.Imaging.FileFormats.Cmx.ObjectModel.Specs
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public class CmxRectangleSpec : ICmxObjectSpec

The CmxRectangleSpec type exposes the following members.

Constructors
  NameDescription
Public methodCmxRectangleSpec
Initializes a new instance of the CmxRectangleSpec class
Properties
  NameDescription
Public propertyAngle
Gets or sets the angle of rotation of the rectangle. Measures in radians.
Public propertyCenterX
Gets or sets the X coordinate for the center of the rectangle. Measures in common document distance units.
Public propertyCenterY
Gets or sets the Y coordinate for the center of the rectangle. Measures in common document distance units.
Public propertyHeight
Gets or sets the height of the rectangle. Measures in common document distance units.
Public propertyRadius
Gets or sets the radius of rounded rectangle corners. If its value is 0 then the rectangle has not rounded corners. Measures in common document distance units.
Public propertyWidth
Gets or sets the width of the rectangle. Measures in common document distance units.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
See Also