Search Results for

    Show / Hide Table of Contents

    Class WebSurface

    Web surface.

    Inheritance
    object
    Surface
    WebSurface
    Inherited Members
    Surface.SurfaceInfo
    Surface.Width
    Surface.Height
    Surface.DPIDensity
    Surface.OnScreenSizeChanged
    Surface.OnSurfaceInfoChanged
    Surface.Closing
    Surface.GotFocus
    Surface.LostFocus
    Surface.Dispose()
    Surface.Destroy()
    Surface.OnClosing()
    Surface.OnGotFocus()
    Surface.OnLostFocus()
    Surface.OnSizeChanged()
    Surface.OnInfoChanged()
    Namespace: Evergine.Web
    Assembly: Evergine.Web.dll
    Syntax
    public class WebSurface : Surface

    Constructors

    WebSurface(object)

    Initializes a new instance of the WebSurface class.

    Declaration
    public WebSurface(object canvas)
    Parameters
    Type Name Description
    object canvas

    Canvas.

    Properties

    KeyboardDispatcher

    Gets the keyboard event dispatcher associated with this surface.

    Declaration
    public override KeyboardDispatcher KeyboardDispatcher { get; }
    Property Value
    Type Description
    KeyboardDispatcher
    Overrides
    Surface.KeyboardDispatcher

    MouseDispatcher

    Gets the mouse event dispatcher associated with this surface.

    Declaration
    public override MouseDispatcher MouseDispatcher { get; }
    Property Value
    Type Description
    MouseDispatcher
    Overrides
    Surface.MouseDispatcher

    TouchDispatcher

    Gets the touch events dispatcher associated with this surface.

    Declaration
    public override PointerDispatcher TouchDispatcher { get; }
    Property Value
    Type Description
    PointerDispatcher
    Overrides
    Surface.TouchDispatcher

    Methods

    RefreshSize()

    Refreshes the surface size from canvas' one.

    Declaration
    public void RefreshSize()

    UpdateSize(uint, uint)

    Updates the surface size.

    Declaration
    public void UpdateSize(uint width, uint height)
    Parameters
    Type Name Description
    uint width

    The new width.

    uint height

    The new height.

    Extension Methods

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