Dynamically changing the shape of a shape/path object

I’m wondering if it is possible change the shape of a PathBasedVisionShape object, which is created when you use the line tool to create a shape. I’m trying to make a map of our facility with zones that could be any shape, with some mouse-hover behavior. I’ve tried doing this with a template canvas full of templates with paintable canvases and it works alright, but slow and causes some other issues. I’m thinking the best way is to programmatically edit a polygon shape like pathbasedvisionshape. But I don’t see anything in the documentation about setting the shape, only getting it. I’m hoping someone here has a way around that.

Looks like its just called something unexpected - alterDelegate. Works just as I had hoped as far as changing the shape is concerned! Heres hoping it’ll fix my other problems here.