sryd-charts-enterprise
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
45 lines (44 loc) • 2.14 kB
TypeScript
import { _ModuleSupport } from 'ag-charts-community';
import { type AnnotationContext, type AnnotationOptionsColorPickerType } from '../annotationTypes';
declare const StartEndProperties_base: (abstract new (...args: any[]) => {
id: string;
isValidWithContext(_context: AnnotationContext, warningPrefix?: string): boolean;
getDefaultColor(colorPickerType: AnnotationOptionsColorPickerType, isMultiColor?: boolean): string | undefined;
locked?: boolean;
visible?: boolean;
handleUnknownProperties(_unknownKeys: Set<string>, _properties: object): void;
set(properties: object): /*elided*/ any;
isValid<TContext = Omit<object, "type">>(this: TContext, warningPrefix?: string): boolean;
toJson<J>(this: J): object;
}) & {
new (...args: any[]): {
start: import("../annotationProperties").PointProperties;
end: import("../annotationProperties").PointProperties;
};
} & {
new (...args: any[]): {
handle: {
stroke?: string;
strokeOpacity?: number;
strokeWidth?: number;
lineCap?: _ModuleSupport.ShapeLineCap;
computedLineDash?: import("ag-charts-community").PixelSize[];
lineDash?: number[];
lineDashOffset?: number;
lineStyle?: import("ag-charts-community").AgAnnotationLineStyleType;
fill?: string;
fillOpacity?: number;
handleUnknownProperties(_unknownKeys: Set<string>, _properties: object): void;
set(properties: object): /*elided*/ any;
isValid<TContext = Omit<object, "type">>(this: TContext, warningPrefix?: string): boolean;
toJson<J>(this: J): object;
};
};
} & typeof _ModuleSupport.BaseProperties;
export declare class StartEndProperties extends StartEndProperties_base {
isValidWithContext(_context: AnnotationContext, warningPrefix?: string): boolean;
snapToAngle: number;
getDefaultColor(_colorPickerType: AnnotationOptionsColorPickerType): string | undefined;
getDefaultOpacity(_colorPickerType: AnnotationOptionsColorPickerType): number | undefined;
}
export {};