GMSNavigationScreenMetrics
@protocol GMSNavigationScreenMetrics
Protocol for returning information about screen metrics.
This protocol is a subset of the screen-metric-related properties implemented by UIScreen
.
-
The bounding rectangle of the screen, measured in points.
Declaration
Swift
var bounds: CGRect { get set }
Objective-C
@property (nonatomic) CGRect bounds;
-
The bounding rectangle of the physical screen, measured in pixels.
Declaration
Swift
var nativeBounds: CGRect { get set }
Objective-C
@property (nonatomic) CGRect nativeBounds;
-
The native scale factor for the physical screen.
Declaration
Swift
var nativeScale: CGFloat { get set }
Objective-C
@property (nonatomic) CGFloat nativeScale;
-
The natural scale factor associated with the screen.
Declaration
Swift
var scale: CGFloat { get set }
Objective-C
@property (nonatomic) CGFloat scale;