Class CmxEllipseSpec
- Namespace
- Aspose.Imaging.FileFormats.Cmx.ObjectModel.Specs
- Assembly
- Aspose.Imaging.dll
Represents geometric info specified for an ellipse.
public class CmxEllipseSpec : ICmxObjectSpec
- Inheritance
-
CmxEllipseSpec
- Implements
- Inherited Members
Constructors
CmxEllipseSpec()
public CmxEllipseSpec()
Properties
Angle1
Gets or sets the first angle used for defining of pie sector.
Does no affect if 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 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
- RectangleF
The bounding box.
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 CmxEllipseSpec is a pie.
public bool Pie { get; set; }
Property Value
- bool
true
if pie; otherwise,false
.
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
CmxEllipseSpecThe other object.
Returns
- bool
The equality comparison result.
Equals(object)
Check if objects are equal.
public override bool Equals(object obj)
Parameters
obj
objectThe other object.
Returns
- bool
The equality comparison result.
GetHashCode()
Get hash code of the current object.
public override int GetHashCode()
Returns
- int
The hash code.
ToString()
Returns a string that represents this instance.
public override string ToString()