Interface CircularCropperOptions

interface CircularCropperOptions {
    circle: {
        borderDash?: number[];
        borderStroke?: string;
        borderStrokeWidth?: number;
    };
    circular: true;
    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;
    }>;
    radius: number;
    transformer: Partial<TransformerConfig>;
    x: number;
    y: number;
}

Hierarchy (view full)

Properties

circle: {
    borderDash?: number[];
    borderStroke?: string;
    borderStrokeWidth?: number;
}

Type declaration

  • Optional borderDash?: number[]
  • Optional borderStroke?: string
  • Optional borderStrokeWidth?: number
circular: true
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
radius: number
transformer: Partial<TransformerConfig>
x: number
y: number