UNPKG

@visactor/vrender-components

Version:

components library for dp visualization

15 lines (14 loc) 632 B
import type { IBoundsLike } from '@visactor/vutils'; import type { SymbolLabelAttrs } from './type'; import { LabelBase } from './base'; import type { ComponentOptions } from '../interface'; export declare class SymbolLabel extends LabelBase<SymbolLabelAttrs> { name: string; static defaultAttributes: Partial<SymbolLabelAttrs>; constructor(attributes: SymbolLabelAttrs, options?: ComponentOptions); protected labeling(textBounds: IBoundsLike, graphicBounds: IBoundsLike, position?: string, offset?: number): { x: number; y: number; }; } export declare const registerSymbolDataLabel: () => void;