Search Results for

    Class PointerTools

    Pointer tools

    Inheritance
    object
    PointerTools
    Namespace
    Terminaux.Inputs.Pointer @ Terminaux.dll
    Syntax
    public static class PointerTools


    Methods

    PointerWithinPoint(PointerEventContext, (int x, int y))

    Checks to see if the returned pointer event context is in the range of the two dimensions (if the mouse pointer is within the boundaries)

    Returns
    bool

    True if the pointer is within the specified point position; false otherwise

    Declaration
    public static bool PointerWithinPoint(PointerEventContext context, (int x, int y) point)
    Parameters
    Name Type Description
    context PointerEventContext

    Pointer event context (You can easily obtain it using the ReadPointerOrKey(InputEventType, Func<bool>?, bool) function)

    point (int Width, int Height)

    Point position

    PointerWithinPoint(PointerEventContext, Coordinate)

    Checks to see if the returned pointer event context is in the range of the two dimensions (if the mouse pointer is within the boundaries)

    Returns
    bool

    True if the pointer is within the specified point position; false otherwise

    Declaration
    public static bool PointerWithinPoint(PointerEventContext context, Coordinate point)
    Parameters
    Name Type Description
    context PointerEventContext

    Pointer event context (You can easily obtain it using the ReadPointerOrKey(InputEventType, Func<bool>?, bool) function)

    point Coordinate

    Point position

    PointerWithinRange(PointerEventContext, (int x, int y), (int x, int y))

    Checks to see if the returned pointer event context is in the range of the two dimensions (if the mouse pointer is within the boundaries)

    Returns
    bool

    True if the pointer is within the range; false otherwise

    Declaration
    public static bool PointerWithinRange(PointerEventContext context, (int x, int y) start, (int x, int y) end)
    Parameters
    Name Type Description
    context PointerEventContext

    Pointer event context (You can easily obtain it using the ReadPointerOrKey(InputEventType, Func<bool>?, bool) function)

    start (int Width, int Height)

    Starting position representing an upper left corner of the rectangle

    end (int Width, int Height)

    Ending position representing a lower right corner of the rectangle

    PointerWithinRange(PointerEventContext, Coordinate, Coordinate)

    Checks to see if the returned pointer event context is in the range of the two dimensions (if the mouse pointer is within the boundaries)

    Returns
    bool

    True if the pointer is within the range; false otherwise

    Declaration
    public static bool PointerWithinRange(PointerEventContext context, Coordinate start, Coordinate end)
    Parameters
    Name Type Description
    context PointerEventContext

    Pointer event context (You can easily obtain it using the ReadPointerOrKey(InputEventType, Func<bool>?, bool) function)

    start Coordinate

    Starting position representing an upper left corner of the rectangle

    end Coordinate

    Ending position representing a lower right corner of the rectangle

    Show / Hide Table of Contents

    Table of contents



      About

      Copyright © 2014-2026 Aptivi

      Find us

    •  
    •  
    •  
    •  
    •  
    •  
    • Social media

    •  
    •  
    •  
    •