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
1: restrict the crop box not to exceed the size of the canvas.
2: restrict the minimum canvas size to fit within the container. If the proportions of the canvas and the container differ, the minimum canvas will be surrounded by extra space in one of the dimensions.
3: restrict the minimum canvas size to fill fit the container. If the proportions of the canvas and the container are different, the container will not be able to fit the whole canvas in one of the dimensions.
If you set viewMode to 0, the crop box can extend outside the canvas, while a value of 1, 2, or 3 will restrict the crop box to the size of the canvas. viewMode of 2 or 3 will additionally restrict the canvas to the container. There is no difference between 2 and 3 when the proportions of the canvas and the container are the same.
But no matter how you change the settings this If the proportions of the canvas and the container differ, the minimum canvas will be surrounded by extra space in one of the dimensions. cnnot be achieved
The text was updated successfully, but these errors were encountered:
denysbohatyrov
changed the title
WebViewMode 1 and acts the same
WebViewMode 1 and 2 acts the same
Mar 3, 2025
Uh oh!
There was an error while loading. Please reload this page.
In docs it say next:
But no matter how you change the settings this If the proportions of the canvas and the container differ, the minimum canvas will be surrounded by extra space in one of the dimensions. cnnot be achieved
The text was updated successfully, but these errors were encountered: