PxUiPageCropScreenDelegate Protocol

@objc(PxUiPageCropScreenDelegate) protocol PxUiPageCropScreenDelegate : NSObjectProtocol

Completion callbacks for PxUiPageCropScreen.

Instance Methods

NameSummary
pageCropScreen(_:didFinishWithImage:cutout:)The user confirmed. image is the (possibly-rotated) source image — its rotation is carried in image.imageOrientation; cutout carries the user-adjusted corners. The adopter runs whatever post-processing it wants (the demo runs crop / dewarp / colour profile via PxRefineFeatures); the screen itself runs no SDK processing.
pageCropScreenDidCancel(_:)The user cancelled (the cancel button, or an interactive / system dismissal without a confirm). Optional — adopters that treat a dismissal as “no change” can omit it.

Relationships

Inherits From

  • ObjectiveC.NSObjectProtocol

Conforming Types

Top