setBottomRight method

void setBottomRight(
  1. Coordinate point
)

Sets bottom right.

Implementation

void setBottomRight(Coordinate point)
{
  left = point.x - width;
  top = point.y - height;
}