Skip to content

Type alias: SetCenter ​

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

set center of viewport

Type declaration ​

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

Parameters ​
NameType
xnumber
ynumber
options?SetCenterOptions
Returns ​

Promise<boolean>

Released under the MIT License.