Class CmxRectangleSpec
CmxRectangleSpec class
Represents geometric info specified for a rectangle.
public class CmxRectangleSpec : ICmxObjectSpec
Constructors
Properties
Name | Description |
---|
Angle { get; set; } | Gets or sets the angle of rotation of the rectangle. Measures in radians. |
CenterX { get; set; } | Gets or sets the X coordinate for the center of the rectangle. Measures in common document distance units. |
CenterY { get; set; } | Gets or sets the Y coordinate for the center of the rectangle. Measures in common document distance units. |
Height { get; set; } | Gets or sets the height of the rectangle. Measures in common document distance units. |
Radius { get; set; } | 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. |
Width { get; set; } | Gets or sets the width of the rectangle. Measures in common document distance units. |
Methods
Name | Description |
---|
override Equals(object) | Check if objects are equal. |
override GetHashCode() | Get hash code of the current object. |
override ToString() | Returns a String that represents this instance. |
See Also