Interface BaseCropperOptions

interface BaseCropperOptions {
    fixed: boolean;
    guides: Partial<{
        color: string;
        count: number;
        dash: number[];
        show: boolean;
        width: number;
    }>;
    keepRatio: boolean;
    marginRatio: number;
    minHeight: number;
    minWidth: number;
    overlay: Partial<{
        color: string;
        opacity: number;
    }>;
    transformer: Partial<TransformerConfig>;
    x: number;
    y: number;
}

Hierarchy (view full)

Properties

fixed: boolean
guides: Partial<{
    color: string;
    count: number;
    dash: number[];
    show: boolean;
    width: number;
}>

Type declaration

  • color: string
  • count: number
  • dash: number[]
  • show: boolean
  • width: number
keepRatio: boolean
marginRatio: number
minHeight: number
minWidth: number
overlay: Partial<{
    color: string;
    opacity: number;
}>

Type declaration

  • color: string
  • opacity: number
transformer: Partial<TransformerConfig>
x: number
y: number