@univerjs/sheets-conditional-formatting v0.5.4


Class: ConditionalFormattingIcon

Defined in: sheets-conditional-formatting/src/render/icon.render.ts:30

Extends

Constructors

new ConditionalFormattingIcon()

new ConditionalFormattingIcon(): ConditionalFormattingIcon

Defined in: sheets-conditional-formatting/src/render/icon.render.ts:40

Returns

ConditionalFormattingIcon

Overrides

SheetExtension.constructor

Properties

PropertyTypeDefault valueOverridesInherited fromDefined in
_radiusnumber1--sheets-conditional-formatting/src/render/icon.render.ts:39
extensionOffsetIExtensionConfig{}-SheetExtension.extensionOffsetengine-render/src/components/extension.ts:53
parentNullable<BaseObject>undefined-SheetExtension.parentengine-render/src/components/extension.ts:47
translateXnumber0-SheetExtension.translateXengine-render/src/components/extension.ts:49
translateYnumber0-SheetExtension.translateYengine-render/src/components/extension.ts:51
typeGRIDSHEET_EXTENSION_TYPE.GRID-SheetExtension.typeengine-render/src/components/sheets/extensions/sheet-extension.ts:33
uKeystringIconUKeySheetExtension.uKey-sheets-conditional-formatting/src/render/icon.render.ts:36
Z_INDEXnumberEXTENSION_Z_INDEXSheetExtension.Z_INDEX-sheets-conditional-formatting/src/render/icon.render.ts:38

Accessors

zIndex

Get Signature

get zIndex(): number

Defined in: engine-render/src/components/extension.ts:55

Returns

number

Inherited from

SheetExtension.zIndex

Methods

_getScale()

protected _getScale(parentScale): number

Defined in: engine-render/src/components/extension.ts:67

Parameters

ParameterType
parentScaleIScale

Returns

number

Inherited from

SheetExtension._getScale


clearCache()

clearCache(): void

Defined in: engine-render/src/components/extension.ts:63

Returns

void

Inherited from

SheetExtension.clearCache


dispose()

dispose(): void

Defined in: engine-render/src/components/extension.ts:71

Returns

void

Inherited from

SheetExtension.dispose


draw()

draw(
   ctx, 
   _parentScale, 
   spreadsheetSkeleton, 
   diffRanges): undefined | false

Defined in: sheets-conditional-formatting/src/render/icon.render.ts:45

Parameters

ParameterType
ctxUniverRenderingContext
_parentScaleIScale
spreadsheetSkeletonSpreadsheetSkeleton
diffRangesIRange[]

Returns

undefined | false

Overrides

SheetExtension.draw


isRenderDiffRangesByCell()

isRenderDiffRangesByCell(rangeP, diffRanges?): boolean

Defined in: engine-render/src/components/sheets/extensions/sheet-extension.ts:35

Parameters

ParameterType
rangePIRange
diffRanges?IRange[]

Returns

boolean

Inherited from

SheetExtension.isRenderDiffRangesByCell


isRenderDiffRangesByColumn()

isRenderDiffRangesByColumn(
   curStartColumn, 
   curEndColumn, 
   diffRanges?): boolean

Defined in: engine-render/src/components/sheets/extensions/sheet-extension.ts:72

Parameters

ParameterType
curStartColumnnumber
curEndColumnnumber
diffRanges?IRange[]

Returns

boolean

Inherited from

SheetExtension.isRenderDiffRangesByColumn


isRenderDiffRangesByRow()

isRenderDiffRangesByRow(
   curStartRow, 
   curEndRow, 
   diffRanges?): boolean

Defined in: engine-render/src/components/sheets/extensions/sheet-extension.ts:105

Parameters

ParameterType
curStartRownumber
curEndRownumber
diffRanges?IRange[]

Returns

boolean

Inherited from

SheetExtension.isRenderDiffRangesByRow


isRowInRanges()

isRowInRanges(
   curStartRow, 
   curEndRow, 
   viewranges?): boolean

Defined in: engine-render/src/components/sheets/extensions/sheet-extension.ts:144

Check if row range is in view ranges

Parameters

ParameterType
curStartRownumber
curEndRownumber
viewranges?IRange[]

Returns

boolean

Inherited from

SheetExtension.isRowInRanges