Type alias: SetCenter ​
Ƭ SetCenter: (x
: number
, y
: number
, options?
: SetCenterOptions
) => Promise
<boolean
>
Type declaration ​
â–¸ (x
, y
, options?
): Promise
<boolean
>
set center of viewport
Parameters ​
Name | Type |
---|---|
x | number |
y | number |
options? | SetCenterOptions |
Returns ​
Promise
<boolean
>