mozilla
Your Search Results

    Touch.radiusY

    Summary

    Returns the Y radius of the ellipse that most closely circumscribes the area of contact with the screen. The value is in pixels of the same scale as screenY.

    This value, in combination with Touch.radiusX and Touch.rotationAngle constructs an ellipse that approximates the size and shape of the area of contact between the user and the screen. This may be a large ellipse representing the contact between a fingertip and the screen or a small one representing the tip of a stylus, for example.

    Syntax

    var yRadius = touchItem.radiusY;
    

    Return value

    yRadius
    The Y radius of the ellipse that most closely circumscribes the area of contact with the screen.

    Specification

    Touch Events Specification

    See also

    Document Tags and Contributors

    Contributors to this page: Sheppy, MHasan, Khodaidad_Basharmand, fscholz, kscarfone
    Last updated by: fscholz,