Class HatchBoundaryPath.Polyline
Represents a polyline 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 Polyline : HatchBoundaryPath.Edge, ICloneable
Constructors
| Improve this Doc View SourcePolyline()
Initializes a new instance of the HatchBoundaryPath.Polyline class.
Declaration
public Polyline()
Polyline(EntityObject)
Initializes a new instance of the HatchBoundaryPath.Polyline class.
Declaration
public Polyline(EntityObject entity)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityObject | entity | EntityObject that represents the edge. |
Fields
| Improve this Doc View SourceIsClosed
Gets if the polyline is closed.
Declaration
public bool IsClosed
Field Value
| Type | Description |
|---|---|
| System.Boolean |
Vertexes
Gets or sets the list of polyline vertexes.
Declaration
public Vector3[] Vertexes
Field Value
| Type | Description |
|---|---|
| Vector3[] |
Remarks
The position of the vertex is defined by the X and Y coordinates, the Z value represents the bulge at that vertex.
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.Polyline class.
Declaration
public static HatchBoundaryPath.Polyline ConvertFrom(EntityObject entity)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityObject | entity | EntityObject that represents the edge. |
Returns
| Type | Description |
|---|---|
| HatchBoundaryPath.Polyline |
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