Scilab-Branch-5.3-GIT
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
xrects
一連の矩形を描画または塗りつぶす
呼び出し手順
xrects(rects,[fill])
パラメータ
- rects
大きさ (4,n)の行列.
- fill
大きさ nのベクトル.
説明
xrectsは一連の矩形を描画または塗りつぶします.
rectsの各列は矩形(左上の点,幅,高さ)をユーザ座標で記述します:
rects=[x1 y1 w1 h1;x2 y2 w2 h2;...]'.
fill(i) は矩形iを塗りつぶしまたは描画する際に使用される
パターンを指定します:
fill(i)<0の場合, 矩形 i は
線種(または色)-fill(i)により描画されます
fill(i)>0の場合, 矩形i は
パターン(または色)fill(i)により塗りつぶされます.
fill(i)=0の場合, 矩形iはカレントの
線種(または色)で描画されます.
警告: 高さは下向きが正です.
例
作者
J.Ph.C.
| << xrect | geometric_shapes | handle >> |