PxUiPageCropView Class
@MainActor class PxUiPageCropView
@interface PxUiPageCropView : UIView
A view that displays a document image and lets the user adjust its page corners.
Instance Properties
| Name | Summary |
|---|---|
| cutout | The PxCutout describing the current page corners. |
| delegate | The delegate that receives editing callbacks. |
| image | The image displayed in the view. |
Instance Methods
| Name | Summary |
|---|---|
| expand() | Expands the corners out to the image boundary. |
| rotate(by:) | Rotates the edited image by a number of 90-degree steps. |
| setup(_:with:) | Sets the image and initial corners to edit. |
| unexpand() | Restores the corners previously expanded by expand. |
| Name | Summary |
|---|---|
| expand | Expands the corners out to the image boundary. |
| initWithFrame: | Initialises the view with the given frame. |
| rotateBy: | Rotates the edited image by a number of 90-degree steps. |
| setup:withCutout: | Sets the image and initial corners to edit. |
| unexpand | Restores the corners previously expanded by expand. |
Relationships
Inherits From
- UIView
Conforms To
- Foundation.NSCoding
- ObjectiveC.NSObjectProtocol
- QuartzCore.CALayerDelegate
- Swift.CVarArg
- Swift.CustomDebugStringConvertible
- Swift.CustomStringConvertible
- Swift.Equatable
- Swift.Hashable
- Swift.Sendable
- Swift.SendableMetatype
- UIKit.UIAccessibilityIdentification
- UIKit.UIActivityItemsConfigurationProviding
- UIKit.UIAppearance
- UIKit.UIAppearanceContainer
- UIKit.UIDynamicItem
- UIKit.UIFocusEnvironment
- UIKit.UIFocusItem
- UIKit.UIFocusItemContainer
- UIKit.UILargeContentViewerItem
- UIKit.UIPasteConfigurationSupporting
- UIKit.UIPopoverPresentationControllerSourceItem
- UIKit.UIResponderStandardEditActions
- UIKit.UITraitChangeObservable
- UIKit.UITraitEnvironment
- UIKit.UIUserActivityRestoring
- UIUtilities.UICoordinateSpace
Inherits From
- UIView