Skip to main content

Geometry of a rectangular screen region

Project description

python-xrectsel

Geometry of a rectangular screen region

Python Versions Build Status PyPI version License: GPLV3 Code style: black

This project idea based on xrectsel https://github.com/lolilolicon/xrectsel.

Installation:

pip3 install python-xrectsel --user

Usage:

Usage: xrectsel [OPTIONS]

Options:
  -f, --format TEXT  Format string...
                     %x - start x-coordinate
                     %y - start y-coordinate
                     %X - start
                     %Y - end
                     %w - width
                     %h - height
  --help             Show this message and exit.
  • Default format is %wx%h+%x+%y
$ xrectsel
$ # select rectangle on sreen
901x634+44+7 #(x-coordinate, y-coordinate, width, height)
  • Formatting string
$ xrectsel -f "--x=%x --y=%y --width=%w --height=%h"
--x=264 --y=387 --width=1204 --height=519

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-xrectsel-1.2.tar.gz (5.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page