Skip to content
Fery Wardiyanto edited this page Feb 10, 2015 · 1 revision

Rect

Rect(<b>float</b> x, <b>float</b> y, <b>float</b> w, <b>float</b> h [, <b>string</b> 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:
  • D or empty string: draw. This is the default value.
  • F: fill
  • DF or FD: draw and fill
## See also SetLineWidth(), SetDrawColor(), SetFillColor().
Clone this wiki locally