box()
現在のインクカラーで空長方形を現在のスクリーンへ描画します。
文法:
box(
sx
,
sy
,
dx
,
dy
)
sx
と
sy
は左上から見た長方形の描画開始座標地点であるのに対して
dx
と
dy
は右下から見た長方形の描画終了座標地点です。
用例:
while not key(k_esc)
cls
box(
100, 100, Xmouse, Ymouse
)
waitVBL
wend