Skip to main content

Tsg2DPolyline

Unit: DXFConv

Description

Tsg2DPolyline class defines 2D polyline entity. Note: it serves for the auxiliary purposes.

Syntax

Tsg2DPolyline = class (Tsg2DCurve)

Properties

PropertiesDescription
ClosedThe property gets or sets a value indicating whether a polyline is closed.
HasBulgeThe property gets or sets a value indicating whether a polyline has bulges or not.
Derived from Tsg2DCurveDescription
CountThe property returns a quantity of the Tsg2DCurve object's points.
EdgeTypeThe property returns an edge type of the Tsg2DCurve object.
EndPointThe property returns the end point of the Tsg2DCurve object.
PointsThe property gets a point that belongs to the Tsg2DCurve object by its index.
StartPointThe property returns the start point of the Tsg2DCurve object.

Methods

MethodsDescription
AddBulgeThe method adds a bulge for a new vertex.
AddVertexThe method adds a new vertex to a Tsg2DPolyline object.
CreateCreates an instance of the Tsg2DPolyline class object.
DestroyThe method frees up internal objects before destroying the Tsg2DPolyline class instance.
GetLastVertexThe method returns the last vertex of polyline.