init(result:image:languageSummary:seedText:configuration:delegate:) Initializer
@MainActor @objc init(result: PxTextResult, image: UIImage, languageSummary: String, seedText: NSAttributedString? = nil, configuration: PxUiOcrEditorScreenConfiguration, delegate: (any PxUiOcrEditorScreenDelegate)?)
References: PxTextResult, PxUiOcrEditorScreenConfiguration, PxUiOcrEditorScreenDelegate
Creates the OCR-editor screen over a finished scan result.
Parameters
- result — The recognised-text result to edit.
- image — The source image shown in the preview.
- languageSummary — The toolbar language summary (for example,
eng, deu). - seedText — Optional pre-edited attributed text to preserve edits + colours across a re-open.
- configuration — The screen configuration (re-scan / change-language callbacks).
- delegate — The delegate to receive the edited text.