docs » cp.ui.ScrollArea

Scroll Area Module.

API Overview

  • Methods - API calls which can only be made on an object returned by a constructor

API Documentation



Signature `cp.ui.ScrollArea:snapshot([path]) -> hs.image nil` </span>
Type Method
Description Takes a snapshot of the UI in its current state as a PNG and returns it.
  • * path - (optional) The path to save the file. Should include the extension (should be `.png`).

results matching ""

    No results matching ""