Skip to content

textmode.js / Textmodifier / lineWeight

Method: lineWeight() ​

ts
lineWeight(weight?): number | void;

Set or get line thickness for subsequent line and curve drawing.

Parameters ​

ParameterTypeDescription
weight?numberLine thickness in grid cells.

Returns ​

number | void

Current line weight when called without arguments.

Example ​