overlay arrows and more
Project description
WARNING: This library is still at a very early stage of development.
Description
The ‘Overlay arrays and more’ library displays a transparent window on top of all other windows. The transparent window serves as a support for adding graphical elements such as arrows, rectangles, circles, text, etc…
Installation
pip install overlay_arrows_and_more
Usage
This is a simple example:
import overlay_arrays_and_more as oaam
import time
main_overlay = oaam.Overlay()
transparent_overlay = oaam.Overlay(transparency=128)
transparent_overlay.add(geometry=oaam.Shape.rectangle, x=300, y=300, width=100, height=100, thickness=10, color=(0, 255, 0))
transparent_overlay.refresh()
main_overlay.add(geometry=oaam.Shape.ellipse, x=10, y=10, width=40, height=40)
main_overlay.add(geometry=oaam.Shape.rectangle, x=100, y=100, width=100, height=100, color=(0, 0, 255))
main_overlay.add(geometry=oaam.Shape.rectangle, x=300, y=100, width=100, height=100, thickness=10, color=(0, 255, 0))
main_overlay.refresh()
time.sleep(9.0)
main_overlay.clear_all()
main_overlay.refresh()
Functions
To be completed
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for overlay_arrows_and_more-0.2.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bb035f2fc2dfaab53d80cb2c94e0773491e93e14fb172b87df1e1506a5b4690 |
|
MD5 | 82dbe860a1d690342d7a0a105220d726 |
|
BLAKE2b-256 | b7680000406e3f3a87931d2fc592b374cbc11f7d25e1093018b1711aca623283 |
Close
Hashes for overlay_arrows_and_more-0.2.9-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fbd17c244b526d72ef7cc7561ccadd897eed81cd46aed64b63d69fd7c1b10f2 |
|
MD5 | eb343d5407deba4c79904c875b1fcbd6 |
|
BLAKE2b-256 | 0af082ac4fb60fedf8597bd3ec05f18ddb443182022f6025c059b4bba4a4de52 |