new Fill(options) style/Fill.js, line 17 Name Type Description color Color | ColorLike | null (defaults to null) A color, gradient or pattern. See Color and ColorLike for possible formats. Default null; if null, the Canvas/renderer default black will be used. Methods clone(){Fill} style/Fill.js, line 36 Clones the style. The color is not cloned if it is an ColorLike. Returns: The cloned style. getColor(){Color | ColorLike | null} style/Fill.js, line 48 Get the fill color. Returns: Color. setColor(color) style/Fill.js, line 58 Set the color. Name Type Description color Color | ColorLike | null Color.