GSKEditFrameView

@interface GSKEditFrameView : UIImageView

The view to edit the quadrangle to edit the perspective correction.

It displays an editable quadrangle overlaid on the original image.

  • Undocumented

    Declaration

    Objective-C

    - (void)clearSelection;

    Swift

    func clearSelection()
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) GSKEditableFrame *imageSelection

    Swift

    var imageSelection: GSKEditableFrame { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, strong) GSKQuadrangle *quadrangle

    Swift

    var quadrangle: GSKQuadrangle { get set }
  • Sets the quadrangle on the view.

    The quadrangle must be in normalized coordinates.

    Declaration

    Objective-C

    - (void)setQuadrangle:(nonnull GSKQuadrangle *)quadrangle
                 animated:(BOOL)animated;

    Swift

    func setQuadrangle(_ quadrangle: GSKQuadrangle, animated: Bool)

    Parameters

    animated

    If true, the new quadrangle will fade in.

  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, assign) BOOL noCrop

    Swift

    var noCrop: Bool { get set }