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.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e052bbd266c730e20214311f5185225a26d41e719c0b4b8321f91b7478ad9b9b |
|
MD5 | e800227141da2a3e30bd9c985b9cdb19 |
|
BLAKE2b-256 | 38a855f852197a3199ba349a86c0f6cb0b9bdc3341bd0e416c0f84816eceb1f4 |
Close
Hashes for overlay_arrows_and_more-0.3.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3108ec19d30768f0fad4487feb7427d9803d052abca8db157e4a02134f346bb |
|
MD5 | eca447cb973fc1b392fafa7078b45f94 |
|
BLAKE2b-256 | 259bbd5bee6d74bd53bd31acf513d333219416727138bae639281d8cb3cf3f82 |