setup(_:with:) Instance Method

@MainActor func setup(_ image: UIImage, with cutout: PxCutout)

References: PxCutout

- (void) setup:(UIImage *) image withCutout:(PxCutout *) cutout;

References: PxCutout

Sets the image and initial corners to edit.

Parameters

  • image — The image to display.
  • cutout — The cutout to use as the initial corners; it is cloned.
Top