UNPKG

ag-charts-community

Version:

Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue

9 lines (8 loc) 503 B
import { type ColorSpace, type GradientColorStop } from 'ag-charts-core'; import type { BBox } from '../bbox'; import { Gradient, type GradientParams } from './gradient'; export declare class RadialGradient extends Gradient { constructor(colorSpace: ColorSpace, stops: GradientColorStop[], bbox?: BBox); protected createCanvasGradient(ctx: CanvasRenderingContext2D, bbox: BBox, params?: GradientParams): CanvasGradient | undefined; createSvgGradient(bbox: BBox): SVGRadialGradientElement; }