Independantly size controls in fabricjs

634 views Asked by At

I need to independantly size the controls on a fabric object.

Namely I have a rectangle and I want the top nad bottom drag handles for resizing to stretch to the widht of the object.

Currently the cornerSize property only allows you to scale the size, you can't change the shape or adjust them for each point independantly?

Or at least you can't from what I can tell.

Is there an easy way to achieve this in the library without having to re-implement all the functionality of the controls in new fabric objects?

0

There are 0 answers