Skip to content

setThickness()

Set the shape's outline thickness.

Parameters

Once an object item has been created, you can use the following function:

item.setThickness(thickness)
Parameter Type Default Description
thickness int required The new outline thickness, in pixels.