@univerjs/engine-render v0.5.0-beta.1 • Docs
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
Property | Modifier | Type | Default value | Defined in |
---|---|---|---|---|
extensionOffset | public | IExtensionConfig | {} | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:53 |
parent | public | Nullable <BaseObject > | undefined | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:47 |
translateX | public | number | 0 | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:49 |
translateY | public | number | 0 | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:51 |
type | public | U | undefined | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:43 |
uKey | public | string | '' | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:41 |
Z_INDEX | protected | number | 0 | packages/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
Parameter | Type |
---|---|
parentScale | IScale |
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
Parameter | Type |
---|---|
ctx | UniverRenderingContext |
parentScale | IScale |
skeleton | T |
diffBounds ? | V |
more ? | IDrawInfo |
Returns
void
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/extension.ts:59