@univerjsengine-renderfunctionsTransformobjectoutofgroup

@univerjs/engine-render v0.5.0-beta.1Docs


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-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/group-transform.ts:67
leftnumberfinalPoint.xpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/group-transform.ts:65
topnumberfinalPoint.ypackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/group-transform.ts:66

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/group-transform.ts:49