UNPKG

@visactor/vrender-core

Version:

```typescript import { xxx } from '@visactor/vrender-core'; ```

25 lines (24 loc) 891 B
import type { IAABBBounds } from '@visactor/vutils'; import type { ICustomPath2D, IRichTextIcon, IRichTextIconGraphicAttribute } from '../../interface'; import { Image } from '../image'; export declare class RichTextIcon extends Image implements IRichTextIcon { attribute: IRichTextIconGraphicAttribute; richtextId?: string; globalX?: number; globalY?: number; _x: number; _y: number; _hovered: boolean; _marginArray: [number, number, number, number]; constructor(params: IRichTextIconGraphicAttribute); animationBackUps?: { from: Record<string, any>; to: Record<string, any>; } | undefined; incrementalAt?: number | undefined; toCustomPath: (() => ICustomPath2D) | undefined; get width(): number; get height(): number; protected tryUpdateAABBBounds(): IAABBBounds; setHoverState(hovered: boolean): void; }