Class HatchBoundaryPath.Arc
Represents an arc edge of a HatchBoundaryPath.
Implements
System.ICloneable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: netDxf.Entities
Assembly: CADability.dll
Syntax
public class Arc : HatchBoundaryPath.Edge, ICloneable
Constructors
| Improve this Doc View SourceArc()
Initializes a new instance of the HatchBoundaryPath.Arc class.
Declaration
public Arc()
Arc(EntityObject)
Initializes a new instance of the HatchBoundaryPath.Arc class.
Declaration
public Arc(EntityObject entity)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityObject | entity | EntityObject that represents the edge. |
Fields
| Improve this Doc View SourceCenter
Gets or set the center of the arc.
Declaration
public Vector2 Center
Field Value
| Type | Description |
|---|---|
| Vector2 |
EndAngle
Gets or sets the end angle of the arc.
Declaration
public double EndAngle
Field Value
| Type | Description |
|---|---|
| System.Double |
IsCounterclockwise
Gets or sets if the arc is counter clockwise.
Declaration
public bool IsCounterclockwise
Field Value
| Type | Description |
|---|---|
| System.Boolean |
Radius
Gets or sets the radius of the arc.
Declaration
public double Radius
Field Value
| Type | Description |
|---|---|
| System.Double |
StartAngle
Gets or sets the start angle of the arc.
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.Arc class.
Declaration
public static HatchBoundaryPath.Arc ConvertFrom(EntityObject entity)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityObject | entity | EntityObject that represents the edge. |
Returns
| Type | Description |
|---|---|
| HatchBoundaryPath.Arc |
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. |
Overrides
Implements
System.ICloneable