サイト内検索

strokeRect() メソッド

実行結果

コード

ctx.strokeStyle = "rgb(200, 0, 0)";
ctx.strokeRect(20, 30, 60, 40);