This topic has not yet been rated - Rate this topic

closePath method

Closes the current subpath and starts a new subpath that has a start point that is equal to the end of the closed subpath.

HTML Canvas 2D Context, Section 9Internet Explorer 9

Syntax


HRESULT retVal = object.closePath();

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

Be aware that CanvasRenderingContext2D represents a canvas rendering 2D context object, as shown in the following example.

See also

ICanvasRenderingContext2D::beginPath

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.