18.11Class SDLRect

Storage for rectangular coordinates.

Class SDLRect( [x],[y],[w],[h] )
x X cooordinate of this rectangle
y Y cooordinate of this rectangle
w width of this rectangle
h height of this rectangle

This class stores rectangular coordinates. Actually, this class is just a "contract" or "interface", as every function accepting an SDLRect will just accept any class providing the properties listed here.

Properties
h height of the rectangle.
w width of the rectangle.
x the X coordinate (left position).
y the Y coordinate (top position).

Properties

h

height of the rectangle.

height of the rectangle.

w

width of the rectangle.

width of the rectangle.

x

the X coordinate (left position).

the X coordinate (left position).

y

the Y coordinate (top position).

the Y coordinate (top position).

Made with http://www.falconpl.org