Rect

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

版本

1.0

內容

產生一個矩形。 它可以劃出來(只跟邊界)、填滿(沒有邊界)或者同時兩個都可以。

參數

x
左上角的橫座標(x)。
y
左上角的縱座標(y)。
w
寬度
h
高度
style
表現出來的形態。可用值為:

參見

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

索引