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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31e20dc7dccf311651c89d5335d28d365190f58079ba4506749a5af4f2736799 |
|
MD5 | 633e02e858ea7f1ffddc68593437b2a1 |
|
BLAKE2b-256 | d0d5167d71cac2864a6aaaaaa336a69f67a2a38dcdd361371cdbafdec3173ba7 |
Close
Hashes for overlay_arrows_and_more-0.2.8-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44113f3bc834fac5a946c3c48d7370d277b196e1f2c080e38d4fb6f717e1daf0 |
|
MD5 | 6ea41b92118852c51a4ae68bea7509cb |
|
BLAKE2b-256 | 93a790698dbd1421163795e8f934f1708804a805c7358645dfcd4295eb23c4b4 |