Class LwPolylineVertex
Represents a LwPolyline vertex.
Inheritance
Implements
Inherited Members
Namespace: netDxf.Entities
Assembly: CADability.dll
Syntax
public class LwPolylineVertex : ICloneable
Constructors
| Improve this Doc View SourceLwPolylineVertex()
Initializes a new instance of the LwPolylineVertex class.
Declaration
public LwPolylineVertex()
LwPolylineVertex(Vector2)
Initializes a new instance of the LwPolylineVertex class.
Declaration
public LwPolylineVertex(Vector2 position)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector2 | position | Lightweight polyline Vector2 coordinates. |
LwPolylineVertex(Vector2, Double)
Initializes a new instance of the LwPolylineVertex class.
Declaration
public LwPolylineVertex(Vector2 position, double bulge)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector2 | position | Lightweight polyline Vector2 coordinates. |
| System.Double | bulge | Vertex bulge (default: 0.0). |
LwPolylineVertex(Double, Double)
Initializes a new instance of the LwPolylineVertex class.
Declaration
public LwPolylineVertex(double x, double y)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | x | X coordinate. |
| System.Double | y | Y coordinate. |
LwPolylineVertex(Double, Double, Double)
Initializes a new instance of the LwPolylineVertex class.
Declaration
public LwPolylineVertex(double x, double y, double bulge)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | x | X coordinate. |
| System.Double | y | Y coordinate. |
| System.Double | bulge | Vertex bulge (default: 0.0). |
Properties
| Improve this Doc View SourceBulge
Gets or set the light weight polyline bulge.
Declaration
public double Bulge { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Remarks
The bulge is the tangent of one fourth the included angle for an arc segment, made negative if the arc goes clockwise from the start point to the endpoint. A bulge of 0 indicates a straight segment, and a bulge of 1 is a semicircle.
EndWidth
Gets or sets the light weight polyline end segment width.
Declaration
public double EndWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Remarks
Widths greater than zero produce wide lines.
Position
Gets or sets the light weight polyline vertex Vector2.
Declaration
public Vector2 Position { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector2 |
StartWidth
Gets or sets the light weight polyline start segment width.
Declaration
public double StartWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Remarks
Widths greater than zero produce wide lines.
Methods
| Improve this Doc View SourceClone()
Creates a new LwPolylineVertex that is a copy of the current instance.
Declaration
public object Clone()
Returns
| Type | Description |
|---|---|
| System.Object | A new LwPolylineVertex that is a copy of this instance. |
ToString()
Converts the value of this instance to its equivalent string representation.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String | The string representation. |