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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75276f1a865cf25f8bc855f4ee71b8e3e526167d0cd0da5fac1670220b00d2cc |
|
MD5 | d00322445e78a8ea9a4d6aa20f295e9e |
|
BLAKE2b-256 | 19200a85220ea306174e6c0056e5ed4ea253bb619c5a8ac1d59ec68dc9ce928b |
Close
Hashes for overlay_arrows_and_more-0.3.6-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f3f6d2ea0b9d1b005252117bdc949039c736089bd6f75ac05375b2e49f8c7cd |
|
MD5 | dab5554b5481985379bd66587d286a83 |
|
BLAKE2b-256 | 0785124cde4a1ba3ca1b846ce58e17a28e6c1a2f992af05eb7ebe4641b439d95 |