This topic has not yet been rated - Rate this topic

stroke method

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

HTML Canvas 2D Context, Section 9Internet Explorer 9

Syntax


HRESULT retVal = object.stroke();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

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.

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.