getCenter method

Mappoint getCenter()

Gets the center point of the dimension.

@return the center point

Implementation

Mappoint getCenter() {
  return new Mappoint(this.width / 2, this.height / 2);
}