Skip to content

strokeRect()

SS Huh edited this page Jan 24, 2021 · 1 revision
  • Canvas의 메서드

  • 기능 : 바로 캔버스에 사각형을 즉시 그린다. (cf. path기반 방식)

  • 사용방법 예제

    context.strokeRect(70,40,200,100);

Clone this wiki locally