Skip to content

setLineDash()

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

  • 기능 : 원하는 점선의 패턴을 설정

  • 사용방법 예제

    context.beginPath();

    context.lineWidth=10;

    context.setLineDash([1,2,3,4]);

Clone this wiki locally