@univerjs/engine-render v0.5.0-beta.1 • Docs
Function: getGroupState()
function getGroupState(
parentLeft,
parentTop,
objectStates): {
angle: 0;
height: groupHeight;
left: number;
scaleX: 1;
scaleY: 1;
top: number;
width: groupWidth;
}
Parameters
Parameter | Type |
---|---|
parentLeft | number |
parentTop | number |
objectStates | ITransformState [] |
Returns
{
angle: 0;
height: groupHeight;
left: number;
scaleX: 1;
scaleY: 1;
top: number;
width: groupWidth;
}
Name | Type | Default value | Defined in |
---|---|---|---|
angle | number | 0 | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/group-transform.ts:43 |
height | number | groupHeight | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/group-transform.ts:42 |
left | number | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/group-transform.ts:39 |
scaleX | number | 1 | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/group-transform.ts:44 |
scaleY | number | 1 | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/group-transform.ts:45 |
top | number | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/group-transform.ts:40 |
width | number | groupWidth | packages/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