 | RectangleF Constructor (Single, Single, Single, Single) |
Constructs a new rectangle with the specified position and size.
Namespace: Slash.Math.Geometry.RectanglesAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic 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
X-component of the rectangle position.
- y
- Type: SystemSingle
Y-component of the rectangle position.
- width
- Type: SystemSingle
Rectangle width.
- height
- Type: SystemSingle
Rectangle height.
See Also