2021-10-29 14:21:30 +03:00

16 lines
387 B
TypeScript

export interface IWatermark {
fontSize?: number;
fontType?: string;
hexColor?: string;
opacity?: number;
orientation?: WatermarkOrientation;
text?: string;
}
export const WatermarkOrientations = {
DIAGONAL: 'DIAGONAL',
HORIZONTAL: 'HORIZONTAL',
VERTICAL: 'VERTICAL',
} as const;
export type WatermarkOrientation = keyof typeof WatermarkOrientations;