IntRect Constructor (Int32, Int32, Int32, Int32)

SFML.Net

IntRect Constructor (Int32, Int32, Int32, Int32)
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 IntRect(
	int left,
	int top,
	int width,
	int height
)
Public Sub New ( 
	left As Integer,
	top As Integer,
	width As Integer,
	height As Integer
)
public:
IntRect(
	int left, 
	int top, 
	int width, 
	int height
)
new : 
        left : int * 
        top : int * 
        width : int * 
        height : int -> IntRect

Parameters

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