-
Notifications
You must be signed in to change notification settings - Fork 45
EditingStack
PingAK9 edited this page Nov 26, 2020
·
1 revision
open class EditingStack
public init(source: ImageSourceType, previewSize: CGSize, screenScale: CGFloat = UIScreen.main.scale)
let source: ImageSourceType
var delegate: EditingStackDelegate?
let preferredPreviewSize: CGSize
let targetScreenScale: CGFloat
var previewImage: CIImage?
var originalPreviewImage: CIImage?
var adjustmentImage: CIImage?
var aspectRatio: CGSize?
var isDirty: Bool
var canUndo: Bool
var draftEdit: Edit?
var currentEdit: Edit
var edits: [Edit]
open func initialCrop()
public func requestApplyingFilterImage() -> CIImage
public func commit()
public func revert()
public func undo()
public func removeAllHistory()
public func set(filters: (inout Edit.Filters) -> Void)
public func setAdjustment(cropRect: CGRect)
public func set(blurringMaskPaths: [DrawnPathInRect])
public func makeRenderer() -> ImageRenderer
Generated at 2023-01-30T07:03:19+0000 using swift-doc 1.0.0-rc.1.