UNPKG

@visactor/vrender-core

Version:
34 lines (33 loc) 2.33 kB
import type { IGraphicAttribute } from '../graphic'; import type { IArcAttribute, IArcGraphicAttribute } from './arc'; import type { IAreaAttribute, IAreaGraphicAttribute } from './area'; import type { ICircleAttribute, ICircleGraphicAttribute } from './circle'; import type { IEllipseAttribute } from './ellipse'; import type { IGroupAttribute, IGroupGraphicAttribute } from './group'; import type { IImageAttribute, IImageGraphicAttribute } from './image'; import type { IIsogonAttribute } from './isogon'; import type { ILineAttribute, ILineGraphicAttribute } from './line'; import type { IPathAttribute, IPathGraphicAttribute } from './path'; import type { IPolygonAttribute, IPolygonGraphicAttribute } from './polygon'; import type { IRectAttribute, IRectGraphicAttribute } from './rect'; import type { IRichTextAttribute, IRichTextGraphicAttribute } from './richText'; import type { ISvgAttribute } from './svg'; import type { ISymbolAttribute, ISymbolGraphicAttribute } from './symbol'; import type { ITextAttribute, ITextGraphicAttribute, IWrapTextGraphicAttribute } from './text'; export type IMarkAttribute = IGraphicAttribute | IArcAttribute | IAreaAttribute | ICircleAttribute | IEllipseAttribute | IGroupAttribute | IImageAttribute | IIsogonAttribute | ILineAttribute | IPathAttribute | IPolygonAttribute | IRectAttribute | IRichTextAttribute | ISvgAttribute | ISymbolAttribute | ITextAttribute; export type IThemeAttribute = IArcGraphicAttribute | IAreaGraphicAttribute | ICircleGraphicAttribute | IImageGraphicAttribute | ILineGraphicAttribute | IPathGraphicAttribute | IRectGraphicAttribute | ISymbolGraphicAttribute | ITextGraphicAttribute | IRichTextGraphicAttribute | IWrapTextGraphicAttribute; export interface GraphicAttributeMap { readonly arc: IArcGraphicAttribute; readonly area: IAreaGraphicAttribute; readonly circle: ICircleGraphicAttribute; readonly image: IImageGraphicAttribute; readonly line: ILineGraphicAttribute; readonly path: IPathGraphicAttribute; readonly group: IGroupGraphicAttribute; readonly rect: IRectGraphicAttribute; readonly symbol: ISymbolGraphicAttribute; readonly text: ITextGraphicAttribute; readonly richtext: IRichTextGraphicAttribute; readonly wrapText: IWrapTextGraphicAttribute; readonly polygon: IPolygonGraphicAttribute; }