fill(fillColor, [name])
Sets the color or gradient used to fill shapes.
Type: function
Parameter(s):
- fillColor {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.
- name {String} Optional:
If created with numbers, a custom swatch name can be given.