Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
stroke

stroke method

Renders the strokes of the current subpath by using the current stroke styles.

HTML Canvas 2D Context, Section 9Internet Explorer 9

 

Syntax


object.stroke();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Standards information

Remarks

Use the ICanvasRenderingContext2D::beginPath method after you call the ICanvasRenderingContext2D::stroke method to close the existing path and start a new one with different properties.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft