UNPKG

ant-design-vue

Version:

An enterprise-class UI design language and Vue-based implementation

11 lines (10 loc) 728 B
import type { CSSProperties } from 'vue'; /** converting camel-cased strings to be lowercase and link it with Separato */ export declare function toLowercaseSeparator(key: string): string; export declare function getStyleStr(style: CSSProperties): string; /** Returns the ratio of the device's physical pixel resolution to the css pixel resolution */ export declare function getPixelRatio(): number; /** Rotate with the watermark as the center point */ export declare function rotateWatermark(ctx: CanvasRenderingContext2D, rotateX: number, rotateY: number, rotate: number): void; /** Whether to re-render the watermark */ export declare const reRendering: (mutation: MutationRecord, watermarkElement?: HTMLElement) => boolean;