/** * The shape of the dot to be rendered for each data point in the series. * @public */ export declare const POINT_SHAPES: { readonly circle: "circle"; readonly diamond: "diamond"; readonly square: "square"; readonly triangle: "triangle"; }; /** * The shape of the dot to be rendered for each data point in the series. * @public */ export type CanvasShapeType = (typeof POINT_SHAPES)[keyof typeof POINT_SHAPES]; /** * Draws a geometric symbol (circle, square, triangle, or diamond) on a canvas context. * * @param ctx - The CanvasRenderingContext2D to draw on. * @param cx - The x-coordinate of the center of the symbol. * @param cy - The y-coordinate of the center of the symbol. * @param radius - The radius (or half-size) of the symbol. * @param shape - The shape to draw. One of 'circle', 'square', 'triangle', or 'diamond'. * * @remarks * - For circles, the radius is the actual radius. * - For squares, the radius is half the side length. * - For triangles and diamonds, the radius controls the overall size. */ export declare function drawSymbol(ctx: CanvasRenderingContext2D, cx: number, cy: number, radius: number, shape?: CanvasShapeType): void;