Skip to content

ADInteractType

duzexu edited this page Sep 18, 2021 · 1 revision

ADInteractType

Tool's interaction gesture type.

public enum ADInteractType 

Enumeration Cases

pan

Pan gesture.

case pan(loc: CGPoint, trans: CGPoint)

Parameters

  • loc: Location in interaction view.
  • trans: Translation in interaction view.

pinch

Pinch gesture.

case pinch(scale: CGFloat, point: CGPoint)

Parameters

  • scale: Scale to last scale.
  • point: Location in interaction view.

rotate

Rotate gesture.

case rotate(angle: CGFloat, point: CGPoint)

Parameters

  • angle: Angle to last angle.
  • point: Location in interaction view.
Types
Protocols
Global Typealiases
Operators
Extensions

Clone this wiki locally