ADPhotoKit Documentation

Enumeration ADInteract​Type

public enum ADInteractType  

Tool's interaction gesture type.

Enumeration Cases

pan

case pan(loc: CGPoint, trans: CGPoint) 

Pan gesture.

Parameters

loc

Location in interaction view.

trans

Translation in interaction view.

pinch

case pinch(scale: CGFloat, point: CGPoint) 

Pinch gesture.

Parameters

scale

Scale to last scale.

point

Location in interaction view.

rotate

case rotate(angle: CGFloat, point: CGPoint) 

Rotate gesture.

Parameters

angle

Angle to last angle.

point

Location in interaction view.