struct Core::Portable::GestureEvent

#include <coreview.h>

struct GestureEvent
{
    // fields

    int type;
    Point where;
    float amountX;
    float amountY;
    int& userData;

    // construction

    GestureEvent(
        int& userData,
        int type = kGestureSingleTap|kGestureBegin,
        PointRef where = Point(),
        float amountX = 1.,
        float amountY = 1.
    );

    // methods

    int getType() const;
    int getState() const;
};