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.12.2
Syntax public void ShowRubberBandBox(
Vector2 Position,
double Width,
double Height,
Color? Color = null,
RubberBandType RubberBandType = RubberBandType.Dashed
)
Public Sub ShowRubberBandBox (
Position As Vector2,
Width As Double,
Height As Double,
Optional Color As Color? = Nothing,
Optional RubberBandType As RubberBandType = RubberBandType.Dashed
)
public:
void ShowRubberBandBox(
Vector2 Position,
double Width,
double Height,
Nullable<Color> Color = nullptr,
RubberBandType RubberBandType = RubberBandType::Dashed
)
member ShowRubberBandBox :
Position : Vector2 *
Width : float *
Height : float *
?Color : Nullable<Color> *
?RubberBandType : RubberBandType
(* Defaults:
let _Color = defaultArg Color null
let _RubberBandType = defaultArg RubberBandType RubberBandType.Dashed
*)
-> unit
METHOD ShowRubberBandBox(
Position AS Vector2,
Width AS REAL8,
Height AS REAL8,
Color AS Nullable<Color> := NULL,
RubberBandType AS RubberBandType := RubberBandType.Dashed
) AS VOID
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