You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to solve the problem: arrow transform like excalidraw's arrow
I wish to have a function createCustomAnchor in Transformer class like _createAnchor, and this function will return the created anchor,so i can bind event handlers to them 。
Thank you for this great library!
The text was updated successfully, but these errors were encountered:
Another way to do that, you can use .findOne to get each of the corners by name and add the event listeners on them. Transformer is just a Group, so you can use multiple ways to get the elements inside
@bogdan-nourescu
Thanks!
I tried。
It can barely achieve the requirements, but the effect is not good and it is a bit complicated because it needs to switch between two types of transformers。
It would be better if Tansformer could open an interface for creating custom anchors, and these anchors could automatically listen to built-in transform events (such as _handleMouseMove)。
to solve the problem: arrow transform like excalidraw's arrow
I wish to have a function createCustomAnchor in Transformer class like
_createAnchor
, and this function will return the created anchor,so i can bind event handlers to them 。Thank you for this great library!
The text was updated successfully, but these errors were encountered: