stroke(strokeColor)

Sets the color or gradient used to draw lines and borders around shapes.

Type: function

Parameter(s):

  • strokeColor {Color | Gradient | Swatch | Numbers | String}:

    Accepts a color/gradient/swatch as string name or variable. Or values: GRAY / R,G,B / C,M,Y,K.