Class HatchBoundaryPath.Ellipse
Represents a ellipse edge of a HatchBoundaryPath.
Implements
Inherited Members
Namespace: netDxf.Entities
Assembly: CADability.dll
Syntax
public class Ellipse : HatchBoundaryPath.Edge, ICloneable
Constructors
| Improve this Doc View SourceEllipse()
Initializes a new instance of the HatchBoundaryPath.Ellipse class.
Declaration
public Ellipse()
Ellipse(EntityObject)
Initializes a new instance of the HatchBoundaryPath.Ellipse class.
Declaration
public Ellipse(EntityObject entity)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityObject | entity | EntityObject that represents the edge. |
Fields
| Improve this Doc View SourceCenter
Gets or sets the center of the ellipse.
Declaration
public Vector2 Center
Field Value
| Type | Description |
|---|---|
| Vector2 |
EndAngle
Gets or sets the end angle of the ellipse.
Declaration
public double EndAngle
Field Value
| Type | Description |
|---|---|
| System.Double |
EndMajorAxis
Gets or sets the position of the end of the major axis.
Declaration
public Vector2 EndMajorAxis
Field Value
| Type | Description |
|---|---|
| Vector2 |
IsCounterclockwise
Gets or sets if the ellipse is counter clockwise.
Declaration
public bool IsCounterclockwise
Field Value
| Type | Description |
|---|---|
| System.Boolean |
MinorRatio
Gets or sets the scale of the minor axis in respect of the major axis.
Declaration
public double MinorRatio
Field Value
| Type | Description |
|---|---|
| System.Double |
StartAngle
Gets or sets the start angle of the ellipse.
Declaration
public double StartAngle
Field Value
| Type | Description |
|---|---|
| System.Double |
Methods
| Improve this Doc View SourceClone()
Clones the actual edge.
Declaration
public override object Clone()
Returns
| Type | Description |
|---|---|
| System.Object | A copy of the actual edge. |
Overrides
| Improve this Doc View SourceConvertFrom(EntityObject)
Initializes a new instance of the HatchBoundaryPath.Ellipse class.
Declaration
public static HatchBoundaryPath.Ellipse ConvertFrom(EntityObject entity)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityObject | entity | EntityObject that represents the edge. |
Returns
| Type | Description |
|---|---|
| HatchBoundaryPath.Ellipse |
ConvertTo()
Converts the actual edge to its entity equivalent.
Declaration
public override EntityObject ConvertTo()
Returns
| Type | Description |
|---|---|
| EntityObject | An EntityObject equivalent to the actual edge. |