fillStyle property

JSAny get fillStyle

The CanvasRenderingContext2D.fillStyle property of the Canvas 2D API specifies the color, gradient, or pattern to use inside shapes. The default style is #000 (black).

Note: For more examples of fill and stroke styles, see Applying styles and color in the Canvas tutorial.

Implementation

external JSAny get fillStyle;
set fillStyle (JSAny value)

Implementation

external set fillStyle(JSAny value);