Class HatchBoundaryPath.Line
Represents a line 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 Line : HatchBoundaryPath.Edge, ICloneable
Constructors
| Improve this Doc View SourceLine()
Initializes a new instance of the HatchBoundaryPath.Line class.
Declaration
public Line()
Line(EntityObject)
Initializes a new instance of the HatchBoundaryPath.Line class.
Declaration
public Line(EntityObject entity)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityObject | entity | EntityObject that represents the edge. |
Fields
| Improve this Doc View SourceEnd
Gets or sets the end point of the line.
Declaration
public Vector2 End
Field Value
| Type | Description |
|---|---|
| Vector2 |
Start
Gets or sets the start point of the line.
Declaration
public Vector2 Start
Field Value
| Type | Description |
|---|---|
| Vector2 |
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)
Creates a BoundaryBoundaryPath from an EntityObject.
Declaration
public static HatchBoundaryPath.Line ConvertFrom(EntityObject entity)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityObject | entity | An EntityObject. |
Returns
| Type | Description |
|---|---|
| HatchBoundaryPath.Line | A HatchBoundaryPath line. |
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