I don't know if this is the best way, but what I am trying to do is to create a collection of Shape
objects and then bind it to a Canvas
, then whenever I update these Shapes
, or add new Shapes
(rare), the Shape
objects on the Canvas
will update as well.
Btw the Shape
objects are not all the same, some Lines
, Rectangles
, etc. Not sure if that matters.
What's the best way to do this?