Fabric.js: Can't hide Rotation Point

Created on 21 Aug 2020  路  2Comments  路  Source: fabricjs/fabric.js

Version

4.0.0

Test Case

http://jsfiddle.net/crandellws/kLnmzjrc/

Information about environment

Current Chrome Browser

Steps to reproduce

set hasRotatingPoint: false,
select itext object and see the it has rotate point

Expected Behavior

rotate point is not visible

Actual Behavior

it still shows the rotate point

Most helpful comment

this document helped me http://fabricjs.com/docs/fabric.Object.html#setControlsVisibility

here is an example showing the expected result of hiding the rotation point.

http://jsfiddle.net/crandellws/kLnmzjrc/1/

All 2 comments

http://fabricjs.com/v4-breaking-changes
http://fabricjs.com/controls-api

Please have a look at docs regarding update to 4.

this document helped me http://fabricjs.com/docs/fabric.Object.html#setControlsVisibility

here is an example showing the expected result of hiding the rotation point.

http://jsfiddle.net/crandellws/kLnmzjrc/1/

Was this page helpful?
0 / 5 - 0 ratings