stroke()

Description

Sets the color used to draw lines and borders around shapes. This color is either specified in terms of the RGB value.

The value for the parameter “gray” must be less than or equal to 255.

Syntax


stroke(gray)


stroke(value1, value2, value3)


Parameters

gray – number specifying value between white and black

value1 – red value

value2 – green value

value3 – blue value

Returns

none

Related

noStroke()
fill()
background()




Edit History