Contents

stroke

Draws the outline of the current path using the current stroke style and line width.

Declaration

void stroke(
    DOMPath path
);

Discussion

The stroke style can be a color, gradient, or pattern.

See Also

Filling and Stroking Lines and Paths