Skip to content

rozek/banglejs-2-fillring

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

banglejs-2-fillring

draws a filled ring on a Bangle.js 2

This module adds a method fillring for drawing filled circular rings to the global graphics context g.

The new method has the signature

g.fillring(cx,cy, r1,r2);

with the following parameters:

  • cx - x coordinate of the ring's center
  • cy - y coordinate of the ring's center
  • r1 - outer ring radius
  • r2 - inner ring radius

The ring is drawn and filled with current foreground color.

License

MIT License

About

draws a filled ring on a Bangle.js 2

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published