Tesla Graphics Engine Documentation (January 2012)
Rectangle Constructor (x, y, width, height)
Tesla
►
Tesla.Math
►
Rectangle
►
Rectangle(Int32, Int32, Int32, Int32)
C#
Creates a new Rectangle.
Declaration Syntax
C#
public
Rectangle
(
int
x
,
int
y
,
int
width
,
int
height
)
Parameters
x
(
Int32
)
Top left X-coordinate
y
(
Int32
)
Top left Y-coordinate
width
(
Int32
)
Width of the rectangle
height
(
Int32
)
Height of the rectangle
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)