@univerjsdocs-uiindexfunctionsTransformtodocdrawingposition

@univerjs/docs-ui v0.5.0-beta.1Docs


Function: transformToDocDrawingPosition()

function transformToDocDrawingPosition(
   transform, 
   marginLeft, 
marginTop): Nullable<IDocDrawingPosition>

Parameters

ParameterTypeDefault value
transformITransformStateundefined
marginLeftnumber0
marginTopnumber0

Returns

Nullable<IDocDrawingPosition>

Defined in

submodules/univer/packages/docs-ui/src/basics/transform-position.ts:72