@univerjs/engine-render v0.5.4


Function: getGroupState()

function getGroupState(
   parentLeft, 
   parentTop, 
   objectStates): {
  angle: number;
  height: number;
  left: number;
  scaleX: number;
  scaleY: number;
  top: number;
  width: number;
}

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

Parameters

ParameterType
parentLeftnumber
parentTopnumber
objectStatesITransformState[]

Returns

{
  angle: number;
  height: number;
  left: number;
  scaleX: number;
  scaleY: number;
  top: number;
  width: number;
}
NameTypeDefault valueDefined in
anglenumber0packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/group-transform.ts:43
heightnumbergroupHeightpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/group-transform.ts:42
leftnumber-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/group-transform.ts:39
scaleXnumber1packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/group-transform.ts:44
scaleYnumber1packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/group-transform.ts:45
topnumber-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/group-transform.ts:40
widthnumbergroupWidthpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/group-transform.ts:41