| RectangleF Constructor (Single, Single, Single, Single) |
Initializes a new instance of the
RectangleF struct with the given values.
Namespace: DigitalRune.Game.UIAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax public RectangleF(
float x,
float y,
float width,
float height
)
Public Sub New (
x As Single,
y As Single,
width As Single,
height As Single
)
public:
RectangleF(
float x,
float y,
float width,
float height
)
new :
x : float32 *
y : float32 *
width : float32 *
height : float32 -> RectangleF
Parameters
- x
- Type: SystemSingle
The x-coordinate of the rectangle. - y
- Type: SystemSingle
The y-coordinate of the rectangle. - width
- Type: SystemSingle
The width of the rectangle. - height
- Type: SystemSingle
The height of the rectangle.
See Also