What is the basis for using FILL_PROPORTIONALLY and PROPORTIONALLY?
Is it sometimes necessary to distinguish between their uses?
What is the basis for their use?
In the code below, if I use both
sel[j].fit(FitOptions.FILL_PROPORTIONALLY);
sel[j].fit(FitOptions.FRAME_TO_CONTENT);the first one will display incorrectly. I looked at it for a long time and didn't find much difference in their data sources.
if (sel.length == 1) {
sel[j].visibleBounds = [sb[0], lcb, sb[2], rcb];
if (cp.length == 2) {
sel[j].fit(FitOptions.PROPORTIONALLY);
sel[j].fit(FitOptions.FRAME_TO_CONTENT);
}
if (cp.length > 2) {
sel[j].fit(FitOptions.FILL_PROPORTIONALLY);
sel[j].fit(FitOptions.FRAME_TO_CONTENT);
}
}
