moveTo - method of object CanvasCtx
Moves the starting point of the path to the specified position on the draving area.
Object moveTo(Long x, Long y)
|x||(Long) The x-coordinate of path starting point|
|y||(Long) The y-coordinate of path starting point|
The method creates a path. Therefore before this method is called the beginPath
method should be called. For the rendering itself the stroke
method is used.
This method is also functional for Web panels
variable represents the drawing canvas (CanvasCtx
). The setup is done on the "Draw
" page at the beginning of the script of drawing event onDraw