skrypton-api / com.waicool20.skrypton.sikulix.input / SKryptonRobot / captureScreen

captureScreen

fun captureScreen(screenRect: Rectangle): ScreenImage

Takes a screenshot of the screen bound to this robot

Parameters

screenRect - Sub-region to capture.

Return
the captured image.