html5 - Fabricjs unable to set LockScallingX in path -


I was making an arrow in the fabric using the path, all is fine, except that I have x and y Unable to lock the scaling of i Locking X = true when I do this, X scaling is not locked. My code is

  $ ('# shipping'). Click (function () {unbind (); var path = new cloth.path ('MLLL8 -6MLL6 6J'); Lock Saving Y = True; Path .set Angel (0) .set ({left: 100, top: 100, stroke: 'black', stroke lane cap: 'round', hackedrollles: true, origin: 'center', originally: 'center'}); Lockscrollingx = true; drawer.ed (path);});   

Please tell me how it works that lockingX = ture works on my lock and my arrow does not scale in the X direction.

You should write it like this:

  path.lockScallingX = true;           

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -