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
Here are a few examples: var indentedRect = rect.WithX(x => x - 15).WithWidth(w => w - 15);
The above example would be easier with a method that "splits / indents" a rect: var indentedRect = rect.IndentRight(15); // This code would behave the same as the one from above
Swizzeling could work like this, but it doesn't seem so useful: var transposedRect = rect.yxhw; //Switches x and y and width and height
The text was updated successfully, but these errors were encountered:
While I'm not so sure about swizzeling, being able to easily modfiy© a rect is something that could help a lot.
Here are a few examples:
var indentedRect = rect.WithX(x => x - 15).WithWidth(w => w - 15);
The above example would be easier with a method that "splits / indents" a rect:
var indentedRect = rect.IndentRight(15); // This code would behave the same as the one from above
Swizzeling could work like this, but it doesn't seem so useful:
var transposedRect = rect.yxhw; //Switches x and y and width and height
The text was updated successfully, but these errors were encountered: