<GMSNavigationScreenMetrics> Protocol Reference

<GMSNavigationScreenMetrics> Protocol Reference

Overview

Protocol for returning information about screen metrics.

This protocol is a subset of the screen-metric-related properties implemented by UIScreen.

Properties

CGRect bounds
 The bounding rectangle of the screen, measured in points.
CGRect nativeBounds
 The bounding rectangle of the physical screen, measured in pixels.
CGFloat nativeScale
 The native scale factor for the physical screen.
CGFloat scale
 The natural scale factor associated with the screen.

Property Documentation

- (CGRect) bounds [read, write, assign]

The bounding rectangle of the screen, measured in points.

- (CGRect) nativeBounds [read, write, assign]

The bounding rectangle of the physical screen, measured in pixels.

- (CGFloat) nativeScale [read, write, assign]

The native scale factor for the physical screen.

- (CGFloat) scale [read, write, assign]

The natural scale factor associated with the screen.