Skip to content

ADStickerContentView

duzexu edited this page Sep 18, 2021 · 2 revisions

ADStickerContentView

Sticker base content view that you can add to ADStickerInteractView.

public class ADStickerContentView: UIView 

Inheritance

UIView

Initializers

init(frame:)

Initial view whith frame

public override init(frame: CGRect) 

Parameters

  • frame: View rect.

Properties

scale

View's scale.

public var scale: CGFloat = 1 

Methods

doubleTapAction(ctx:)

Called when double tap the content view. Subclass can override and do some operation.

open func doubleTapAction(ctx: UIViewController?) 

Parameters

  • ctx: Image edit controller.

sizeDidChange(_:)

Call this method when sticker size changed.

public func sizeDidChange(_ size: CGSize) 

Parameters

  • size: New sticker size.
Types
Protocols
Global Typealiases
Operators
Extensions
Clone this wiki locally