キャンバスの画面幅を返します。
なし
キャンバスの画面幅 (ピクセル)
Window.loop do # キャンバスの中央に円を描画します Window.draw_circle(Window.width / 2, Window.height / 2, 50, C_GREEN) end