Skip to content
On this page

Type alias: SetCenter ​

Ƭ SetCenter: (x: number, y: number, options?: SetCenterOptions) => Promise<boolean>

Type declaration ​

â–¸ (x, y, options?): Promise<boolean>

set center of viewport

Parameters ​
NameType
xnumber
ynumber
options?SetCenterOptions
Returns ​

Promise<boolean>

Released under the MIT License.