UNPKG

@visactor/vrender-components

Version:

components library for dp visualization

30 lines (29 loc) 1.33 kB
import { ArcSegment } from '../segment'; import { MarkCommonLine } from './common-line'; import type { ComponentOptions } from '../interface'; import type { IArcGraphicAttribute } from '@visactor/vrender-core'; import { IMarkCommonArcLabelPosition } from './type'; import type { MarkArcLineAttrs, MarkerAnimationState } from './type'; export declare function registerMarkArcLineAnimate(): void; export declare class MarkArcLine extends MarkCommonLine<IArcGraphicAttribute, IMarkCommonArcLabelPosition> { name: string; static defaultAttributes: Partial<MarkArcLineAttrs>; protected _line: ArcSegment; protected markerAnimate(state: MarkerAnimationState): void; constructor(attributes: MarkArcLineAttrs, options?: ComponentOptions); protected getPointAttrByPosition(direction: IMarkCommonArcLabelPosition): { position: { x: number; y: number; }; angle: number; }; protected getTextStyle(position: IMarkCommonArcLabelPosition): { textAlign: import("@visactor/vrender-core").TextAlignType; textBaseline: import("@visactor/vrender-core").TextBaselineType; }; protected getRotateByAngle(angle: number): number; protected createSegment(): ArcSegment; protected setLineAttributes(): void; protected isValidPoints(): boolean; }