@univerjsdocs-uiindexfunctionsGetcanvasoffsetbyengine

@univerjs/docs-ui v0.5.4


Function: getCanvasOffsetByEngine()

function getCanvasOffsetByEngine(engine): {
  left: number;
  top: number;
}

Defined in: submodules/univer/packages/docs-ui/src/services/selection/selection-utils.ts:285

Parameters

ParameterType
engineNullable<Engine>

Returns

{
  left: number;
  top: number;
}
NameTypeDefault valueDefined in
leftnumber0submodules/univer/packages/docs-ui/src/services/selection/selection-utils.ts:290
topnumber0submodules/univer/packages/docs-ui/src/services/selection/selection-utils.ts:291