strokeStyle property

JSAny get strokeStyle

The CanvasRenderingContext2D.strokeStyle property of the Canvas 2D API specifies the color, gradient, or pattern to use for the strokes (outlines) around shapes. The default is #000 (black).

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

Implementation

external JSAny get strokeStyle;
set strokeStyle (JSAny value)

Implementation

external set strokeStyle(JSAny value);