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
)
Public Sub ShowRubberBandPolygon (
Points As List(Of Vector2),
Closed As Boolean,
Optional Color As Color? = Nothing,
Optional RubberBandType As RubberBandType = RubberBandType.Dashed
)
public:
void ShowRubberBandPolygon(
List<Vector2>^ Points,
bool Closed,
Nullable<Color> Color = nullptr,
RubberBandType RubberBandType = RubberBandType::Dashed
)
member ShowRubberBandPolygon :
Points : List<Vector2> *
Closed : bool *
?Color : Nullable<Color> *
?RubberBandType : RubberBandType
(* Defaults:
let _Color = defaultArg Color null
let _RubberBandType = defaultArg RubberBandType RubberBandType.Dashed
*)
-> unit
METHOD ShowRubberBandPolygon(
Points AS List<Vector2>,
Closed AS LOGIC,
Color AS Nullable<Color> := NULL,
RubberBandType AS RubberBandType := RubberBandType.Dashed
) AS VOID
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