@univerjs/engine-render v0.5.0-beta.1 • Docs
Function: transformObjectOutOfGroup()
function transformObjectOutOfGroup(
child,
parent,
groupOriginWidth,
groupOriginHeight): {
angle: number;
left: finalPoint.x;
top: finalPoint.y;
}
Parameters
Parameter | Type |
---|---|
child | ITransformState |
parent | ITransformState |
groupOriginWidth | number |
groupOriginHeight | number |
Returns
{
angle: number;
left: finalPoint.x;
top: finalPoint.y;
}
Name | Type | Default value | Defined in |
---|---|---|---|
angle | number | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/group-transform.ts:67 |
left | number | finalPoint.x | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/group-transform.ts:65 |
top | number | finalPoint.y | packages/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