Icard/angular-clarity-master(work.../node_modules/stackblur-canvas/index.d.ts

53 lines
896 B
TypeScript
Raw Normal View History

2024-07-16 15:23:22 +00:00
export class BlurStack {
r: number;
g: number;
b: number;
a: number;
next: BlurStack;
}
export function image(
img: HTMLImageElement | string,
canvas: HTMLCanvasElement | string,
radius: number,
blurAlphaChannel?: boolean,
useOffset?: boolean,
skipStyles?: boolean,
): void;
export function canvasRGBA(
canvas: HTMLCanvasElement,
topX: number,
topY: number,
width: number,
height: number,
radius: number
): void;
export function canvasRGB(
canvas: HTMLCanvasElement,
topX: number,
topY: number,
width: number,
height: number,
radius: number
): void;
export function imageDataRGBA(
data: ImageData,
topX: number,
topY: number,
width: number,
height: number,
radius: number
): ImageData;
export function imageDataRGB(
data: ImageData,
topX: number,
topY: number,
width: number,
height: number,
radius: number
): ImageData;