@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

Liquid

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

ParameterType
pageIDocumentSkeletonPage

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

ParameterTypeDefault value
xnumber0
ynumber0

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

ParameterTypeDefault value
xnumber0
ynumber0

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

ParameterType
columnIDocumentSkeletonColumn

Returns

{
  x: number;
  y: number;
}
NameTypeDefault valueDefined in
xnumbercolumnLeftpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:149
ynumber0packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:150

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

ParameterType
divideIDocumentSkeletonDivide

Returns

{
  x: number;
  y: number;
}
NameTypeDefault valueDefined in
xnumberleftpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:180
ynumber0packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:181

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

ParameterType
glyphIDocumentSkeletonGlyph

Returns

{
  x: number;
  y: number;
}
NameTypeDefault valueDefined in
xnumberspanLeftpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:190
ynumber0packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:191

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

ParameterTypeDefault value
lineIDocumentSkeletonLineundefined
includeMarginTopbooleanfalse
includePaddingTopbooleanfalse

Returns

{
  x: number;
  y: number;
}
NameTypeDefault valueDefined in
xnumber0packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:169
ynumberlineOffsetpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:170

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

ParameterTypeDefault value
pageIDocumentSkeletonPageundefined
typePageLayoutTypePageLayoutType.VERTICAL
leftnumber0
topnumber0
_rightnumber0
_bottomnumber0

Returns

{
  x: number;
  y: number;
}
NameTypeDefault valueDefined in
xnumberpageLeftpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:129
ynumberpageToppackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:130

translatePagePadding()

translatePagePadding(page): void

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:72

Parameters

ParameterType
pageIDocumentSkeletonPage

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

ParameterType
sectionIDocumentSkeletonSection

Returns

{
  x: number;
  y: number;
}
NameTypeDefault valueDefined in
xnumber0packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:138
ynumbersectionToppackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/liquid.ts:139