@univerjs/engine-render v0.4.2 • 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 | - | submodules/univer/packages/engine-render/src/basics/group-transform.ts:67 (opens in a new tab) |
left | number | finalPoint.x | submodules/univer/packages/engine-render/src/basics/group-transform.ts:65 (opens in a new tab) |
top | number | finalPoint.y | submodules/univer/packages/engine-render/src/basics/group-transform.ts:66 (opens in a new tab) |
Defined in
submodules/univer/packages/engine-render/src/basics/group-transform.ts:49 (opens in a new tab)