JavaScriptで画像、図形を使うときに便利なCanvas。同じようなものがあるので違いを整理。 "rect"と"fillRect"同じく四角を書くことができるものです。 "rect"は四角を線と塗りを指定して描画できる。 "fillRect"は四角の中を塗りつぶしたものを指定して描画する。
Canvas is useful when using images and shapes in JavaScript. Since there are similar methods, let's organize the differences. "rect" and "fillRect" can both be used to draw rectangles. "rect" allows ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する