mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-30 08:26:59 +02:00
24 lines
397 B
TypeScript
24 lines
397 B
TypeScript
export interface ScaledSize {
|
|
height: number;
|
|
width: number;
|
|
scale: number;
|
|
}
|
|
|
|
export interface IconButtonProps {
|
|
onClick: ()=> void;
|
|
size?: number;
|
|
color?: string;
|
|
}
|
|
|
|
export interface RenderRequest {
|
|
pageNo: number;
|
|
scaledSize: ScaledSize;
|
|
getTextLayer: boolean;
|
|
isCancelled: ()=> boolean;
|
|
}
|
|
|
|
export interface RenderResult {
|
|
canvas: HTMLCanvasElement;
|
|
textLayerDiv: HTMLDivElement;
|
|
}
|