@univerjs/engine-render v0.5.0-beta.1Docs


Class: ComponentExtension<T, U, V>

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
Returns

number

Defined in

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

Methods

_getScale()

protected _getScale(parentScale): number

Parameters

ParameterType
parentScaleIScale

Returns

number

Defined in

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


clearCache()

clearCache(): void

Returns

void

Defined in

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


dispose()

dispose(): void

Returns

void

Defined in

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


draw()

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

Parameters

ParameterType
ctxUniverRenderingContext
parentScaleIScale
skeletonT
diffBounds?V
more?IDrawInfo

Returns

void

Defined in

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