Skip to content

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.