Click or drag to resize

DXFReaderNETControlShowRubberBandPolygon Method

Shows the polygon specified by the Points parameter as a rubber band polygon.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public void ShowRubberBandPolygon(
	List<Vector2> Points,
	bool Closed,
	Color? Color = null,
	RubberBandType RubberBandType = RubberBandType.Dashed
)

Parameters

Points
Type: System.Collections.GenericListVector2
A list of points of the polygon.
Closed
Type: SystemBoolean
True for closed polygon.
Color (Optional)
Type: SystemNullableColor
The color of the rubber band if solid. If omitted the CurrentColor will be used.
RubberBandType (Optional)
Type: DXFReaderNETRubberBandType
The type of rubber band: solid or dashed
See Also