home Canvas Canvasリファレンス rect() メソッド 実際のサンプル rect() メソッド 実行結果 コード ctx.rect(20, 30, 60, 40); ctx.stroke(); rect() メソッドの説明に戻る