@univerjs/sheets-conditional-formatting v0.5.0-beta.1Docs


Class: ConditionalFormattingIcon

Extends

Constructors

new ConditionalFormattingIcon()

new ConditionalFormattingIcon(): ConditionalFormattingIcon

Returns

ConditionalFormattingIcon

Overrides

SheetExtension.constructor

Defined in

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

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
typeSHEET_EXTENSION_TYPESHEET_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
Returns

number

Inherited from

SheetExtension.zIndex

Defined in

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

Methods

_getScale()

protected _getScale(parentScale): number

Parameters

ParameterType
parentScaleIScale

Returns

number

Inherited from

SheetExtension._getScale

Defined in

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


clearCache()

clearCache(): void

Returns

void

Inherited from

SheetExtension.clearCache

Defined in

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


dispose()

dispose(): void

Returns

void

Inherited from

SheetExtension.dispose

Defined in

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


draw()

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

Parameters

ParameterType
ctxUniverRenderingContext
_parentScaleIScale
spreadsheetSkeletonSpreadsheetSkeleton
diffRangesIRange[]

Returns

undefined | false

Overrides

SheetExtension.draw

Defined in

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


isRenderDiffRangesByCell()

isRenderDiffRangesByCell(rangeP, diffRanges?): boolean

Parameters

ParameterType
rangePIRange
diffRanges?IRange[]

Returns

boolean

Inherited from

SheetExtension.isRenderDiffRangesByCell

Defined in

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


isRenderDiffRangesByColumn()

isRenderDiffRangesByColumn(
   curStartColumn, 
   curEndColumn, 
   diffRanges?): boolean

Parameters

ParameterType
curStartColumnnumber
curEndColumnnumber
diffRanges?IRange[]

Returns

boolean

Inherited from

SheetExtension.isRenderDiffRangesByColumn

Defined in

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


isRenderDiffRangesByRow()

isRenderDiffRangesByRow(
   curStartRow, 
   curEndRow, 
   diffRanges?): boolean

Parameters

ParameterType
curStartRownumber
curEndRownumber
diffRanges?IRange[]

Returns

boolean

Inherited from

SheetExtension.isRenderDiffRangesByRow

Defined in

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


isRowInRanges()

isRowInRanges(
   curStartRow, 
   curEndRow, 
   viewranges?): boolean

Check if row range is in view ranges

Parameters

ParameterType
curStartRownumber
curEndRownumber
viewranges?IRange[]

Returns

boolean

Inherited from

SheetExtension.isRowInRanges

Defined in

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