A ScreenActionProvider should provide access to a system's main screen

Interface

ScreenProviderInterface

Hierarchy

  • ScreenProviderInterface

Implemented by

Methods

  • grabScreen should return an Image object containing a screenshot data of a systems main screen as well as its dimensions

    Returns

    The Image object holding screenshot data

    Returns Promise<Image>

  • Highlights a screen Region for a given duration by overlaying it with an opaque window

    Parameters

    • region: Region

      The Region to highlight

    • duration: number

      The highlight duration

    • opacity: number

      Overlay opacity

    Returns Promise<void>