This interface represents an interaction with the view port. Interaction reflects view changes, depending on the interaction coordinates and the modifiers which specify the type of interaction.
Methods
-
This method ends the interaction and applies a kinetic movement, if it was defined by using the method
startInteraction().Name Type Description opt_preventKineticsboolean optional A Boolean value indicating whether to prevent kinetic behaviour at the end of an interaction (
true) or allow it (false) -
This method resolves direct screen (view port) interaction. It modifies the current view using the arguments provided by the caller.
Name Type Description xnumber viewport x coordinate
ynumber viewport y coordinate
opt_bxnumber optional x coordinate for second pointer/touch if present
opt_bynumber optional y coordinate for second pointer/touch if present
opt_timestampnumber optional The known timestamp to use
-
This method starts an interaction with the view port. It should be called every time when a new interaction is started, for example on mouse grab or touch start.
Name Type Description modifiersH.math.BitMask.<!H.map.render.RenderEngine.InteractionModifiers> Specifies what operations should performed during every interaction
opt_kineticsH.util.kinetics.IKinetics optional Specifies the kinetic move at the end of interaction