Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a new subpath by using the specified point.
![]() ![]() |
Syntax
object.moveTo(x, y);
Parameters
x [in]
Type: numberThe x-coordinate, in pixels.
y [in]
Type: numberThe y-coordinate, in pixels.
Return value
This method does not return a value.
Standards information
- HTML Canvas 2D Context, Section 9
Remarks
This method is often used to set a point without drawing a line, such as a starting point for a shape.
.png)
.png)