Skip to main content

CanvasPropertyStrokeWidth

Type​

operator

Summary​

The current stroke width of a canvas.

Syntax​

the stroke width of <mCanvas>

Description​

The width of lines used when stroking a path on mCanvas as a number.

Parameters​

NameTypeDescription

mCanvas

An expression which evaluates to a canvas.

Examples​

// Draw paths with line width 20
set the stroke width of this canvas to 20
Thank you for your feedback!

Was this page helpful?