Rect

Rect(float x, float y, float w, float h [, string style])

Description

Outputs a rectangle. It can be drawn (border only), filled (with no border) or both.

Parameters

x
Abscissa of upper-left corner.
y
Ordinate of upper-left corner.
w
Width.
h
Height.
style
Style of rendering. Possible values are:

See also

SetLineWidth(), SetDrawColor(), SetFillColor().
Index