Constructors

Properties

Constructors

  • Parameters

    • source: {
          polygon?: (undefined | {
              x?: number;
              y?: number;
          })[];
          rotation?: ImageRotation;
          sourceImage?: null | {
              buffer: undefined | string;
              uniqueId?: string;
              clear?: any;
              clone?: any;
              encodeImage?: any;
              encodeInPlace?: any;
              hibernate?: any;
              info?: any;
              isRetained?: any;
              release?: any;
              retain?: any;
              saveImage?: any;
              serialize?: any;
          };
      }
      • Optional Readonly polygon?: (undefined | {
            x?: number;
            y?: number;
        })[]

        The polygon of the cropped area.

      • Optional Readonly rotation?: ImageRotation

        The rotation of the resulting cropped area

      • Optional Readonly sourceImage?: null | {
            buffer: undefined | string;
            uniqueId?: string;
            clear?: any;
            clone?: any;
            encodeImage?: any;
            encodeInPlace?: any;
            hibernate?: any;
            info?: any;
            isRetained?: any;
            release?: any;
            retain?: any;
            saveImage?: any;
            serialize?: any;
        }

        A crop from the input image.

    Returns CroppingViewResult

Properties

polygon: Point[]

The polygon of the cropped area.

rotation: ImageRotation

The rotation of the resulting cropped area

sourceImage: null | ImageRef

A crop from the input image.