Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 FabricJS,我想让用户仅按其宽度调整形状的大小,并以某种方式隐藏或锁定高度手柄,以便它们无法使用。
有谁知道该怎么做?
您可以像这样锁定高度缩放: myObject.lockScalingY = true;
高度缩放手柄将可见,但不可用。