Skip to main content

overlay arrows and more

Project description

PyPI version Repository License

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

overlay_arrows_and_more-0.5.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

overlay_arrows_and_more-0.5.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file overlay_arrows_and_more-0.5.0.tar.gz.

File metadata

  • Download URL: overlay_arrows_and_more-0.5.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10

File hashes

Hashes for overlay_arrows_and_more-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a8d4fc79e965559abfa2496c32d4cfcb041b4b185d0d0de9e44009e7e3513d96
MD5 4575b61e12dbdf842fb6a25b2da8d78d
BLAKE2b-256 9d78bc18b3a78c1145458219cd0123be863be1b3e859036ca745417cb3123c95

See more details on using hashes here.

File details

Details for the file overlay_arrows_and_more-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: overlay_arrows_and_more-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10

File hashes

Hashes for overlay_arrows_and_more-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee4a2570844cff2c764a2a89e90e75a6247fe387bf481d75f38aa40fff2e498e
MD5 42c1813a494b6d87d2b48f0da47a8972
BLAKE2b-256 7c55d301a77fc9a461923fb6bd9d29056332c681672a7aac5d5e9a49df9becb4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page