public interface Rectangle extends Region
Region.xpos()
and Region.ypos()
function is guaranteed to be the bottom-left point of the rectangle. The values returned by the
Region.endxpos()
and Region.endypos()
functions form the top-right point of the
rectangle.