Looks nice and useful. Is there also color attribute? Or one could separate layouts per color and do g.setColor between.
EDIT: oh yes, there is col,bgCol documented in https://raw.githubusercontent.com/espruino/BangleApps/master/modules/Layout.js
However now I see there is lot of "Bangle." calls inside so it is not so universal and reusable for other devices.
© Espruino, powered by microcosm.
Report a problem