Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Cropper

Index

Constructors

Methods

  • Parameters

    • Optional rounded: boolean

    Returns Cropper.Data

  • move(offsetX: number, offsetY?: number): Cropper
  • Parameters

    • offsetX: number
    • Optional offsetY: number

    Returns Cropper

  • moveTo(x: number, y?: number): Cropper
  • Parameters

    • x: number
    • Optional y: number

    Returns Cropper

  • replace(url: string, onlyColorChanged?: boolean): Cropper
  • Parameters

    • url: string
    • Optional onlyColorChanged: boolean

    Returns Cropper

  • Parameters

    • degree: number

    Returns Cropper

  • Parameters

    • degree: number

    Returns Cropper

  • scale(scaleX: number, scaleY?: number): Cropper
  • Parameters

    • scaleX: number
    • Optional scaleY: number

    Returns Cropper

  • Parameters

    • scaleX: number

    Returns Cropper

  • Parameters

    • scaleY: number

    Returns Cropper

  • setAspectRatio(aspectRatio: number): Cropper
  • Parameters

    • aspectRatio: number

    Returns Cropper

  • Parameters

    • ratio: number

    Returns Cropper

  • zoomTo(ratio: number, pivot?: { x: number; y: number }): Cropper
  • Parameters

    • ratio: number
    • Optional pivot: { x: number; y: number }
      • x: number
      • y: number

    Returns Cropper

Generated using TypeDoc