Methods
View

moveTo

Centers the viewbox on the specified coordinates.

Example



Usage

JS


Parameters

x

X coordinate to center the viewbox on.

Type

Required

Number

Yes

y

Y coordinate to center the viewbox on.

Type

Required

Number

Yes