Class CmxEllipseSpec
Namespace: Aspose.Imaging.FileFormats.Cmx.ObjectModel.Specs
Assembly: Aspose.Imaging.dll (25.2.0)
Represents geometric info specified for an ellipse.
public class CmxEllipseSpec : ICmxObjectSpec
Inheritance
Implements
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
CmxEllipseSpec()
public CmxEllipseSpec()
Properties
Angle1
Gets or sets the first angle used for defining of pie sector.
Does no affect if Aspose.Imaging.FileFormats.Cmx.ObjectModel.Specs.CmxEllipseSpec.Pie is false
.
Measures in radians.
public float Angle1 { get; set; }
Property Value
Angle2
Gets or sets the second angle used for defining of pie sector.
Does no affect if Aspose.Imaging.FileFormats.Cmx.ObjectModel.Specs.CmxEllipseSpec.Pie is false
.
Measures in radians.
public float Angle2 { get; set; }
Property Value
BoundingBox
Gets or sets the bounding box.
public RectangleF BoundingBox { get; set; }
Property Value
CenterX
Gets or sets the X coordinate for the center of the rectangle. Measures in common document distance units.
public float CenterX { get; set; }
Property Value
CenterY
Gets or sets the Y coordinate for the center of the rectangle. Measures in common document distance units.
public float CenterY { get; set; }
Property Value
DiameterX
Gets or sets the diameter for X dimension of the rectangle. Measures in common document distance units.
public float DiameterX { get; set; }
Property Value
DiameterY
Gets or sets the diameter for Y dimension of the rectangle. Measures in common document distance units.
public float DiameterY { get; set; }
Property Value
Pie
Gets or sets a value indicating whether this Aspose.Imaging.FileFormats.Cmx.ObjectModel.Specs.CmxEllipseSpec is a pie.
public bool Pie { get; set; }
Property Value
Rotation
Gets or sets the angle of rotation of the ellipse. Measures in radians.
public float Rotation { get; set; }
Property Value
Methods
Equals(CmxEllipseSpec)
Check if objects are equal.
protected bool Equals(CmxEllipseSpec other)
Parameters
other
CmxEllipseSpec
The other object.
Returns
The equality comparison result.
Equals(object)
Check if objects are equal.
public override bool Equals(object obj)
Parameters
obj
object
The other object.
Returns
The equality comparison result.
GetHashCode()
Get hash code of the current object.
public override int GetHashCode()
Returns
The hash code.
ToString()
Returns a System.String that represents this instance.
public override string ToString()
Returns
A System.String that represents this instance.