One Logo Pool Ball
MapKit · IOS API REFERENCE

MKMapRect

struct · SDK 27.1

struct MKMapRect

Members (28)

method · iOS 4.0+

contains

TypeScript
contains(point: MKMapPoint): boolean
Swift declaration
func contains(_ point: MKMapPoint) -> Bool
method · iOS 4.0+

contains

TypeScript
contains93149(rect2: MKMapRect): boolean
Swift declaration
func contains(_ rect2: MKMapRect) -> Bool
get

height

TypeScript
get height(): number
Swift declaration
var height: Double { get }
get

maxX

TypeScript
get maxX(): number
Swift declaration
var maxX: Double { get }
get

maxY

TypeScript
get maxY(): number
Swift declaration
var maxY: Double { get }
get

midX

TypeScript
get midX(): number
Swift declaration
var midX: Double { get }
get

midY

TypeScript
get midY(): number
Swift declaration
var midY: Double { get }
get

minX

TypeScript
get minX(): number
Swift declaration
var minX: Double { get }
get

minY

TypeScript
get minY(): number
Swift declaration
var minY: Double { get }
get

width

TypeScript
get width(): number
Swift declaration
var width: Double { get }
method · iOS 4.0+

insetBy

TypeScript
insetBy(dx: number, dy: number): MKMapRect
Swift declaration
func insetBy(dx: Double, dy: Double) -> MKMapRect
method · iOS 4.0+

intersection

TypeScript
intersection(rect2: MKMapRect): MKMapRect
Swift declaration
func intersection(_ rect2: MKMapRect) -> MKMapRect
method · iOS 4.0+

intersects

TypeScript
intersects(rect2: MKMapRect): boolean
Swift declaration
func intersects(_ rect2: MKMapRect) -> Bool
get

isEmpty

TypeScript
get isEmpty(): boolean
Swift declaration
var isEmpty: Bool { get }
get

isNull

TypeScript
get isNull(): boolean
Swift declaration
var isNull: Bool { get }
init

init

TypeScript
static initXYWidthHeight(x: number, y: number, width: number, height: number): MKMapRect
Swift declaration
init(x: Double, y: Double, width: Double, height: Double)
method · iOS 4.0+

offsetBy

TypeScript
offsetBy(dx: number, dy: number): MKMapRect
Swift declaration
func offsetBy(dx: Double, dy: Double) -> MKMapRect
get · iOS 4.0+

remainder

TypeScript
get remainder(): MKMapRect
Swift declaration
var remainder: MKMapRect { get }
get · iOS 4.0+

spans180thMeridian

TypeScript
get spans180thMeridian(): boolean
Swift declaration
var spans180thMeridian: Bool { get }
method · iOS 4.0+

union

TypeScript
union(rect2: MKMapRect): MKMapRect
Swift declaration
func union(_ rect2: MKMapRect) -> MKMapRect
get · iOS 4.0+

null

TypeScript
static get null(): MKMapRect
Swift declaration
static let null: MKMapRect
get · iOS 4.0+

world

TypeScript
static get world(): MKMapRect
Swift declaration
static let world: MKMapRect
get

origin

TypeScript
get origin(): MKMapPoint
Swift declaration
var origin: MKMapPoint
set

origin

TypeScript
set origin(value: MKMapPoint)
Swift declaration
var origin: MKMapPoint
get

size

TypeScript
get size(): MKMapSize
Swift declaration
var size: MKMapSize
set

size

TypeScript
set size(value: MKMapSize)
Swift declaration
var size: MKMapSize
init

init

TypeScript
static initOriginSize(origin: MKMapPoint, size: MKMapSize): MKMapRect
Swift declaration
init(origin: MKMapPoint, size: MKMapSize)
init

init

TypeScript
static init(): MKMapRect
Swift declaration
init()

Skipped declarations

No declarations were skipped in this snapshot.

All MapKit types →