Thread

new Thread(r, g, b, weightopt)

Creates a new Thread instance.

Parameters:
NameTypeAttributesDefaultDescription
rnumber

Red component (0-255)

gnumber

Green component (0-255)

bnumber

Blue component (0-255)

weightnumber<optional>
0.2

Weight of the thread in mm