Class MKMapRect

All Implemented Interfaces:
Iterable<MKMapRect>

public class MKMapRect
extends Struct<MKMapRect>
  • Constructor Details

    • MKMapRect

      public MKMapRect()
    • MKMapRect

      public MKMapRect​(MKMapPoint origin, MKMapSize size)
    • MKMapRect

      public MKMapRect​(double x, double y, double width, double height)
  • Method Details

    • getOrigin

      public MKMapPoint getOrigin()
    • setOrigin

      public MKMapRect setOrigin​(MKMapPoint origin)
    • getSize

      public MKMapSize getSize()
    • setSize

      public MKMapRect setSize​(MKMapSize size)
    • getMinX

      public double getMinX()
    • getMinY

      public double getMinY()
    • getMidX

      public double getMidX()
    • getMidY

      public double getMidY()
    • getMaxX

      public double getMaxX()
    • getMaxY

      public double getMaxY()
    • getWidth

      public double getWidth()
    • getHeight

      public double getHeight()
    • equalsTo

      public boolean equalsTo​(MKMapRect other)
    • equals

      public boolean equals​(Object obj)
      Overrides:
      equals in class NativeObject
    • isNull

      public boolean isNull()
    • isEmpty

      public boolean isEmpty()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • World

      public static MKMapRect World()
    • Null

      public static MKMapRect Null()
    • union

      public MKMapRect union​(MKMapRect rect2)
    • intersection

      public MKMapRect intersection​(MKMapRect rect2)
    • inset

      public MKMapRect inset​(double dx, double dy)
    • offset

      public MKMapRect offset​(double dx, double dy)
    • divide

      public void divide​(MKMapRect slice, MKMapRect remainder, double amount, CGRectEdge edge)
    • contains

      public boolean contains​(MKMapPoint point)
    • contains

      public boolean contains​(MKMapRect rect2)
    • intersects

      public boolean intersects​(MKMapRect rect2)
    • isSpanning180thMeridian

      public boolean isSpanning180thMeridian()
    • remainder

      public MKMapRect remainder()