Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

set stroke style html canvas

    public setStrokeStyle(color: string, stroke: number = 1) {
        this.context.strokeStyle = color
        this.context.lineWidth = stroke
    }
 
PREVIOUS NEXT
Tagged: #set #stroke #style #html #canvas
ADD COMMENT
Topic
Name
8+1 =