overlay arrows and more
Project description
Overlay arrays and more
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.3.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 252d1d5970082be06666094c023d750956880e6171b5188abaf5f0192e28de99 |
|
MD5 | a075e8077efedf44460837d9f35c0572 |
|
BLAKE2b-256 | 8671815103cec58b30637592c43a333954726c40de3e95d5c7b908c56825ada5 |
Close
Hashes for overlay_arrows_and_more-0.3.8-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f73b4a8b9836803f0f2d77d83795db8cdf78a8f9f77fd6b58fbd9dcb3c6e8d5 |
|
MD5 | fad40441f4a2fdd338e7ee59125dd497 |
|
BLAKE2b-256 | 7963abc1f0860a2c86d0f380c3ccb268450cf8bd9b3094a8d52b57307819faa7 |