| RectangleShape Constructor (Vector2F) |
Initializes a new instance of the
RectangleShape class with the given extent.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public RectangleShape(
Vector2F extent
)
Public Sub New (
extent As Vector2F
)
public:
RectangleShape(
Vector2F extent
)
new :
extent : Vector2F -> RectangleShape
Parameters
- extent
- Type: DigitalRune.Mathematics.AlgebraVector2F
The extent vector.
See Also