Search Results for

    Show / Hide Table of Contents

    Class WebTouchDispatcher

    Dispatches pointer events associated with a Surface or a Window.

    Inheritance
    object
    PointerDispatcher
    WebTouchDispatcher
    Implements
    IDpiAwarenessDispatcher
    Inherited Members
    PointerDispatcher.Points
    PointerDispatcher.PointerDown
    PointerDispatcher.PointerUp
    PointerDispatcher.PointerMove
    PointerDispatcher.DispatchEvents()
    PointerDispatcher.HandlePointerDown(long, Point)
    PointerDispatcher.HandlePointerUp(long, Point)
    PointerDispatcher.HandlePointerMove(long, Point)
    PointerDispatcher.ResetPointersStatus()
    Namespace: Evergine.Web
    Assembly: Evergine.Web.dll
    Syntax
    public class WebTouchDispatcher : PointerDispatcher, IDpiAwarenessDispatcher

    Constructors

    WebTouchDispatcher(JSObject)

    Initializes a new instance of the WebTouchDispatcher class.

    Declaration
    public WebTouchDispatcher(JSObject element)
    Parameters
    Type Name Description
    JSObject element

    A DOM element.

    Properties

    DevicePixelRatio

    Gets or sets the ratio of the resolution in physical pixels to the resolution in CSS pixels for the current display device. This value could also be interpreted as the ratio of pixel sizes: the size of one CSS pixel to the size of one physical pixel.

    Declaration
    public double DevicePixelRatio { get; set; }
    Property Value
    Type Description
    double

    ElementOffset

    Gets or sets the element offset (left and top) in pixels.

    Declaration
    public Point ElementOffset { get; set; }
    Property Value
    Type Description
    Point

    Methods

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    Implements

    IDpiAwarenessDispatcher

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX