setRight method

void setRight(
  1. double value
)

Sets right

Implementation

void setRight(double value)
{
  left = value - width;
}