easybotics / node-red-contrib-easybotics-led-matrix

node red node for controlling rgb matrix panels
GNU General Public License v2.0
9 stars 5 forks source link

X Y offset for polygon node #22

Closed keptan closed 5 years ago

keptan commented 5 years ago

X Y should be available for drawing polygons, as a parameter for the draw function

  1. It's cheaper, especially with the filled polygons than building a new polygon node
  2. Probably the most common use-case
  3. Much less annoying than building a new 'savedPts' array for the user
  4. Puts it inline with the other drawables interfaces
keptan commented 5 years ago

offsets being added to all display primitives now work started here: https://github.com/easybotics/node-red-contrib-easybotics-led-matrix/commit/1affb7a71cd7050f371f0ee374036a7b0aa74d28