|
|
@@ -499,7 +499,7 @@ public: |
|
|
|
by the specified amount and returning the section that was removed.
|
|
|
|
|
|
|
|
E.g. if this rectangle is (100, 100, 300, 300) and amountToRemove is 50, this will
|
|
|
|
return (250, 100, 50, 300) and leave this rectangle as (100, 100, 250, 300).
|
|
|
|
return (350, 100, 50, 300) and leave this rectangle as (100, 100, 250, 300).
|
|
|
|
|
|
|
|
If amountToRemove is greater than the width of this rectangle, it'll be clipped to
|
|
|
|
that value.
|
|
|
@@ -516,7 +516,7 @@ public: |
|
|
|
by the specified amount and returning the section that was removed.
|
|
|
|
|
|
|
|
E.g. if this rectangle is (100, 100, 300, 300) and amountToRemove is 50, this will
|
|
|
|
return (100, 250, 300, 50) and leave this rectangle as (100, 100, 300, 250).
|
|
|
|
return (100, 350, 300, 50) and leave this rectangle as (100, 100, 300, 250).
|
|
|
|
|
|
|
|
If amountToRemove is greater than the height of this rectangle, it'll be clipped to
|
|
|
|
that value.
|
|
|
|