right property

double right

The sum of the x and width properties.

Implementation

double get right {
  return x + width;
}
void right=(double value)

Sets the width based on the value minus the x property.

Implementation

set right(double value) {
  width = value - x;
}