This topic has not yet been rated - Rate this topic

moveTo method

Creates a new subpath by using the specified point.

HTML Canvas 2D Context, Section 9Internet Explorer 9

Syntax


HRESULT retVal = object.moveTo(x, y);

Parameters

x [in]

Type: float

The x-coordinate, in pixels.

y [in]

Type: float

The y-coordinate, in pixels.

Return value

Type: HRESULT

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

Standards information

See also

ICanvasRenderingContext2D::lineTo

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.