Class
ADStickerInteractView
public class ADStickerInteractView: UIView, ADToolInteractable
Shared view that you can add sticker to.
Relationships
Conforms To
ADToolInteractable
Use to control tool's interaction view.
UIView
Properties
zIndex
public var zIndex: Int
strategy
public var strategy: ADInteractStrategy
interactClipBounds
public var interactClipBounds: Bool
clipingScreenInfo
public var clipingScreenInfo: ADClipingInfo? = nil
Methods
shouldInteract(_:point:)
public func shouldInteract(_ gesture: UIGestureRecognizer, point: CGPoint) -> Bool
interact(with:scale:state:)
public func interact(with type: ADInteractType, scale: CGFloat, state: UIGestureRecognizer.State) -> TimeInterval?
willBeginRenderImage()
public func willBeginRenderImage()
didEndRenderImage()
public func didEndRenderImage()
addContent(_:)
public func addContent(_ view: ADStickerContentView)
Add sticker content to shared view.
Parameters
Name | Type | Description |
---|---|---|
view | ADStickerContentView |
Sticker content. |
appendContent(_:)
public func appendContent(_ view: ADStickerContentView)
Add sticker content to shared view.
Parameters
Name | Type | Description |
---|---|---|
view | ADStickerContentView |
Sticker content |