moveTo method
[This documentation is preliminary and is subject to change.]
Creates a new subpath by using the specified point.
![]() ![]() |
Syntax
HRESULT retVal = object.moveTo(x, y);
Standards information
- HTML Canvas 2D Context, Section 9
Parameters
x [in]
Type: floatThe x-coordinate, in pixels.
y [in]
Type: floatThe y-coordinate, in pixels.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
See also
Build date: 1/23/2012
.png)
.png)