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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25de090a58a8f78c1d459e7cb03ef324c0268e1cc585e4bfd43f5b2c437c9d63 |
|
MD5 | 1286a4d10f8a3359ccff6d6e4ac9acac |
|
BLAKE2b-256 | 452bbf0fef9da83aad91dc5dac6391e80ecc2b3326e2141ee509d5c934be52d1 |
Close
Hashes for overlay_arrows_and_more-0.3.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70aa9a22f2eefeb97b3209c59171f1796d2b128f31d0892743fad9c388f53f9f |
|
MD5 | ca86a13e8cb7e3fab8ba07ac15a0e5fb |
|
BLAKE2b-256 | ddfaa0dfe0dd97b9465a998078743990a1e38b478b434123c4e565a10da75415 |