Ustaw płótno HTML w stylu skoku
public setStrokeStyle(color: string, stroke: number = 1) {
this.context.strokeStyle = color
this.context.lineWidth = stroke
}
Himanshu Jangid