set*
yellowRect.setSize (100, 200);

yellowRect.setBounds (90, 100, 100, 100);

yellowRect.setX (50);

yellowRect.setY (20);

yellowRect.setTop (150);

yellowRect.setBottom (150);

yellowRect.setLeft (150);

yellowRect.setRight (150);

yellowRect.setCentre (280, 150);

yellowRect.setHorizontalRange (juce::Range<int> (40, 200));

yellowRect.setVerticalRange (juce::Range<int> (60, 250));

reduce/expand
yellowRect.reduce (20, 50);

yellowRect.expand (30, 40);

auto greenRect = blueRect.reduced (50, 30);

auto greenRect = blueRect.expanded (50, 30);

with*
auto greenRect = blueRect.withX (20);

auto greenRect = blueRect.withY (50);

auto greenRect = blueRect.withRightX (80);

auto greenRect = blueRect.withRight (80);

auto greenRect = blueRect.withBottomY (250);

auto greenRect = blueRect.withBottom (250);

auto greenRect = blueRect.withLeft (150);

auto greenRect = blueRect.withTop (150);

auto greenRect = blueRect.withPosition (100, 100);

auto greenRect = blueRect.withZeroOrigin();

auto greenRect = blueRect.withCentre (juce::Point<int> (200, 250));

auto greenRect = blueRect.withWidth (100);

auto greenRect = blueRect.withHeight (100);

auto greenRect = blueRect.withSize (100, 100);

auto greenRect = blueRect.withSizeKeepingCentre (50, 50);

auto greenRect = blueRect.withTrimmedTop (100);

auto greenRect = blueRect.withTrimmedBottom (100);

auto greenRect = blueRect.withTrimmedLeft (100);

auto greenRect = blueRect.withTrimmedRight (100);

removeFrom*
auto greenRect = blueRect.removeFromTop (50);

auto greenRect = blueRect.removeFromBottom (50);

auto greenRect = blueRect.removeFromLeft (50);

auto greenRect = blueRect.removeFromRight (50);
