display_corner {screenshot}R Documentation

Get display corner of screen

Description

This function returns the coordinates of the specified corner of the display. This function works only on windows.

Usage

display_corner(corner = "bottom_left", width = 600, height = 600)

Arguments

corner

A string to specify a corner of the display. "top_left", "top_right", "bottom_left", or "bottom_right".

width, height

A integer to specify width or height of the corner.

Value

A numeric vector of length 4 representing the coordinates of the specified corner.

Examples

## Not run: 
display_corner("top_left", 800, 800)

## End(Not run)


[Package screenshot version 0.9.1 Index]