| RectangleShape Constructor (Single, Single) |
Initializes a new instance of the
RectangleShape class with the given width
and height.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public RectangleShape(
float widthX,
float widthY
)
Public Sub New (
widthX As Single,
widthY As Single
)
public:
RectangleShape(
float widthX,
float widthY
)
new :
widthX : float32 *
widthY : float32 -> RectangleShape
Parameters
- widthX
- Type: SystemSingle
The width along the x-axis. - widthY
- Type: SystemSingle
The width along the y-axis.
Exceptions See Also