@univerjs/engine-render v0.5.4
Class: Liquid
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:27
Constructors
new Liquid()
new Liquid(): Liquid
Returns
Accessors
x
Get Signature
get x(): number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:34
Returns
number
y
Get Signature
get y(): number
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:38
Returns
number
Methods
reset()
reset(): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:42
Returns
void
restorePagePadding()
restorePagePadding(page): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:83
Parameters
Parameter | Type |
---|---|
page | IDocumentSkeletonPage |
Returns
void
translate()
translate(x, y): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:52
Parameters
Parameter | Type | Default value |
---|---|---|
x | number | 0 |
y | number | 0 |
Returns
void
translateBy()
translateBy(x, y): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:47
Parameters
Parameter | Type | Default value |
---|---|---|
x | number | 0 |
y | number | 0 |
Returns
void
translateColumn()
translateColumn(column): {
x: number;
y: number;
}
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:143
Parameters
Parameter | Type |
---|---|
column | IDocumentSkeletonColumn |
Returns
{
x: number;
y: number;
}
translateDivide()
translateDivide(divide): {
x: number;
y: number;
}
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:174
Parameters
Parameter | Type |
---|---|
divide | IDocumentSkeletonDivide |
Returns
{
x: number;
y: number;
}
translateGlyph()
translateGlyph(glyph): {
x: number;
y: number;
}
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:185
Parameters
Parameter | Type |
---|---|
glyph | IDocumentSkeletonGlyph |
Returns
{
x: number;
y: number;
}
translateLine()
translateLine(
line,
includeMarginTop,
includePaddingTop): {
x: number;
y: number;
}
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:154
Parameters
Parameter | Type | Default value |
---|---|---|
line | IDocumentSkeletonLine | undefined |
includeMarginTop | boolean | false |
includePaddingTop | boolean | false |
Returns
{
x: number;
y: number;
}
translatePage()
translatePage(
page,
type,
left,
top,
_right,
_bottom): {
x: number;
y: number;
}
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:94
Parameters
Parameter | Type | Default value |
---|---|---|
page | IDocumentSkeletonPage | undefined |
type | PageLayoutType | PageLayoutType.VERTICAL |
left | number | 0 |
top | number | 0 |
_right | number | 0 |
_bottom | number | 0 |
Returns
{
x: number;
y: number;
}
translatePagePadding()
translatePagePadding(page): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:72
Parameters
Parameter | Type |
---|---|
page | IDocumentSkeletonPage |
Returns
void
translateRestore()
translateRestore(): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:64
Returns
void
translateSave()
translateSave(): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:57
Returns
void
translateSection()
translateSection(section): {
x: number;
y: number;
}
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:134
Parameters
Parameter | Type |
---|---|
section | IDocumentSkeletonSection |
Returns
{
x: number;
y: number;
}