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