Closed hedfol closed 7 months ago
Add getLocation method overload to Align and Valign enums. Implement an option to prevent the values that are out of bounds.
getLocation
Make getLocation calls in text scenarios use preventOverflow option. Do not alter the default uses of getLocation for entities.
preventOverflow
Add basic tests for Align.getLocation with preventOverflow:true. Create similar tests for Valign.getLocation: default and no-overflow.
Align.getLocation
preventOverflow:true
Valign.getLocation
Let me know what should be changed.
Add
getLocation
method overload to Align and Valign enums. Implement an option to prevent the values that are out of bounds.Make
getLocation
calls in text scenarios usepreventOverflow
option. Do not alter the default uses ofgetLocation
for entities.Add basic tests for
Align.getLocation
withpreventOverflow:true
. Create similar tests forValign.getLocation
: default and no-overflow.