@univerjs/engine-render v0.5.4


Class: ComponentExtension<T, U, V>

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:40

Extended by

Type Parameters

Type Parameter
T
U
V

Constructors

new ComponentExtension()

new ComponentExtension<T, U, V>(): ComponentExtension<T, U, V>

Returns

ComponentExtension<T, U, V>

Properties

PropertyModifierTypeDefault valueDefined in
extensionOffsetpublicIExtensionConfig{}packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:53
parentpublicNullable<BaseObject>undefinedpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:47
translateXpublicnumber0packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:49
translateYpublicnumber0packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:51
typepublicUundefinedpackages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:43
uKeypublicstring''packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:41
Z_INDEXprotectednumber0packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:45

Accessors

zIndex

Get Signature

get zIndex(): number

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:55

Returns

number

Methods

_getScale()

protected _getScale(parentScale): number

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:67

Parameters

ParameterType
parentScaleIScale

Returns

number


clearCache()

clearCache(): void

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:63

Returns

void


dispose()

dispose(): void

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:71

Returns

void


draw()

draw(
   ctx, 
   parentScale, 
   skeleton, 
   diffBounds?, 
   more?): void

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:59

Parameters

ParameterType
ctxUniverRenderingContext
parentScaleIScale
skeletonT
diffBounds?V
more?IDrawInfo

Returns

void