Enumeration
ADInteractType
public enum ADInteractType
Tool's interaction gesture type.
Enumeration Cases
pan
case pan(loc: CGPoint, trans: CGPoint)
Pan gesture.
Parameters
Name | Type | Description |
---|---|---|
loc | Location in interaction view. |
|
trans | Translation in interaction view. |
pinch
case pinch(scale: CGFloat, point: CGPoint)
Pinch gesture.
Parameters
Name | Type | Description |
---|---|---|
scale | Scale to last scale. |
|
point | Location in interaction view. |
rotate
case rotate(angle: CGFloat, point: CGPoint)
Rotate gesture.
Parameters
Name | Type | Description |
---|---|---|
angle | Angle to last angle. |
|
point | Location in interaction view. |