FloatRect Constructor (Single, Single, Single, Single)

SFML.Net

FloatRect Constructor (Single, Single, Single, Single)
Construct the rectangle from its coordinates

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public FloatRect(
	float left,
	float top,
	float width,
	float height
)
Public Sub New ( 
	left As Single,
	top As Single,
	width As Single,
	height As Single
)
public:
FloatRect(
	float left, 
	float top, 
	float width, 
	float height
)
new : 
        left : float32 * 
        top : float32 * 
        width : float32 * 
        height : float32 -> FloatRect

Parameters

left
Type: SystemSingle
Left coordinate of the rectangle
top
Type: SystemSingle
Top coordinate of the rectangle
width
Type: SystemSingle
Width of the rectangle
height
Type: SystemSingle
Height of the rectangle
See Also