Skip to content

rozek/banglejs-2-fillring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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