Wiki
Clone wikiRogueSharp / RogueSharp / Rectangle / _ctor_1
Rectangle Constructor (Int32, Int32, Int32, Int32)
Initializes a new instance of Rectangle
Namespace: RogueSharp
Assembly:
Syntax
public Rectangle( int x, int y, int width, int height )
Parameters
x
Type: SystemInt32
The x-coordinate of the Rectangle with 0 being to the left
y
Type: SystemInt32
The y-coordinate of the Rectangle with 0 being at the top
width
Type: SystemInt32
Width of the Rectangle
height
Type: SystemInt32
Height of the Rectangle
See Also
Reference
Rectangle Class
RogueSharp Namespace
[3]: 2014-2016 Faron Bracy
Updated