width

width: number | undefined

If defined and non-zero, the width of the edges in pixels. If undefined (or 0), edges are drawn using the element's line width.

@note Non-integer values are truncated, and values are clamped to the range [1, 32].

Defined in

Last Updated: 18 January, 2025