PanOrZoomController
open class PanOrZoomController : TouchInputController
Represents a controller that handles touch input by panning or zooming the Diagram.
Inherits the TouchInputController
class.
-
Initializes a new instance of the PanOrZoomController class.
Declaration
Swift
public init(view: DiagramView)
Parameters
diagramView
The DiagramView that is modified.
Return Value
A new instance of the PanOrZoomController class.
-
Overrides TouchInputController.onTouchDown.
-
Overrides TouchInputController.onTouchMove.
-
Overrides TouchInputController.onTouchUp.
-
Overrides TouchInputController.onCancel.