API Reference
@univerjs
@univerjs/engine-render
functions
Transformobjectoutofgroup

@univerjs/engine-render v0.4.2Docs


Function: transformObjectOutOfGroup()

function transformObjectOutOfGroup(
   child, 
   parent, 
   groupOriginWidth, 
   groupOriginHeight): {
  angle: number;
  left: finalPoint.x;
  top: finalPoint.y;
}

Parameters

ParameterType
childITransformState
parentITransformState
groupOriginWidthnumber
groupOriginHeightnumber

Returns

{
  angle: number;
  left: finalPoint.x;
  top: finalPoint.y;
}
NameTypeDefault valueDefined in
anglenumber-submodules/univer/packages/engine-render/src/basics/group-transform.ts:67 (opens in a new tab)
leftnumberfinalPoint.xsubmodules/univer/packages/engine-render/src/basics/group-transform.ts:65 (opens in a new tab)
topnumberfinalPoint.ysubmodules/univer/packages/engine-render/src/basics/group-transform.ts:66 (opens in a new tab)

Defined in

submodules/univer/packages/engine-render/src/basics/group-transform.ts:49 (opens in a new tab)


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