Skip to content

PixelCropRect — @gj-kit/expo-media

A public interface from @gj-kit/expo-media/image/pure. The signature below is taken directly from the 0.6.1 release declaration.

import { PixelCropRect } from '@gj-kit/expo-media/image/pure';
/** A crop rectangle in source-image pixels for expo-image-manipulator. */
interface PixelCropRect {
readonly originX: number;
readonly originY: number;
readonly width: number;
readonly height: number;
}

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/expo-media
  • Version: 0.6.1
  • Public entry: ./image/pure
  • Source: GitHub