@visactor/vtable
Version:
canvas table width high performance
56 lines (55 loc) • 2.35 kB
TypeScript
import type { ColorPropertyDefine, IStyleOption, ProgressBarStyleOption, StylePropertyFunctionArg } from '../../ts-types';
import { Style } from './Style';
export declare class ProgressBarStyle extends Style {
private _showBar;
private _barColor;
private _barBgColor;
private _barPositiveColor;
private _barNegativeColor;
private _barAxisColor;
private _barHeight;
private _barBottom;
private _barPadding;
private _showBarMark;
private _barMarkPositiveColor;
private _barMarkNegativeColor;
private _barMarkWidth;
private _barMarkPosition;
private _barRightToLeft;
private _barMarkInBar;
static get DEFAULT(): ProgressBarStyle;
constructor(style?: ProgressBarStyleOption, bodyStyle?: IStyleOption);
get showBar(): boolean | ((args: StylePropertyFunctionArg) => boolean);
set showBar(value: boolean | ((args: StylePropertyFunctionArg) => boolean));
get barColor(): ColorPropertyDefine;
set barColor(barColor: ColorPropertyDefine);
get barBgColor(): ColorPropertyDefine;
set barBgColor(barBgColor: ColorPropertyDefine);
get barHeight(): number | string;
set barHeight(barHeight: number | string);
get barBottom(): number | string;
set barBottom(barBottom: number | string);
get barPositiveColor(): ColorPropertyDefine;
set barPositiveColor(barPositiveColor: ColorPropertyDefine);
get barNegativeColor(): ColorPropertyDefine;
set barNegativeColor(barNegativeColor: ColorPropertyDefine);
get barAxisColor(): ColorPropertyDefine;
set barAxisColor(barAxisColor: ColorPropertyDefine);
get barPadding(): (number | string)[];
set barPadding(barPadding: (number | string)[]);
get showBarMark(): boolean;
set showBarMark(value: boolean);
get barMarkPositiveColor(): ColorPropertyDefine;
set barMarkPositiveColor(value: ColorPropertyDefine);
get barMarkNegativeColor(): ColorPropertyDefine;
set barMarkNegativeColor(value: ColorPropertyDefine);
get barMarkWidth(): number;
set barMarkWidth(value: number);
get barMarkPosition(): 'right' | 'bottom';
set barMarkPosition(value: 'right' | 'bottom');
get barRightToLeft(): boolean;
set barRightToLeft(value: boolean);
get barMarkInBar(): boolean;
set barMarkInBar(value: boolean);
clone(): ProgressBarStyle;
}