16 lines
387 B
TypeScript
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;
|