Click or drag to resize

DXFReaderNETControlShowRubberBandBox Method (Vector2, Double, Double, NullableColor, RubberBandType)

Shows the rectangle specified by the Position, Width and Height parameters as a rubber band rectangle.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.52
Syntax
public void ShowRubberBandBox(
	Vector2 Position,
	double Width,
	double Height,
	Color? Color = null,
	RubberBandType RubberBandType = RubberBandType.Dashed
)

Parameters

Position
Type: DXFReaderNETVector2
The lower left corner of the rectangle.
Width
Type: SystemDouble
The width corner of the rectangle.
Height
Type: SystemDouble
The height corner of the rectangle.
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