API Reference
@univerjs
@univerjs/docs-ui
functions
Transformtodocdrawingposition

@univerjs/docs-ui v0.4.2Docs


Function: transformToDocDrawingPosition()

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

Parameters

ParameterTypeDefault value
transformITransformStateundefined
marginLeftnumber0
marginTopnumber0

Returns

Nullable<IDocDrawingPosition>

Defined in

packages/docs-ui/src/basics/transform-position.ts:72 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.