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


Function: getGroupState()

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

Parameters

ParameterType
parentLeftnumber
parentTopnumber
objectStatesITransformState[]

Returns

{
  angle: 0;
  height: groupHeight;
  left: number;
  scaleX: 1;
  scaleY: 1;
  top: number;
  width: groupWidth;
}
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

Defined in

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