Structure
Client.Device.Resolution
struct Resolution: Equatable, Codable
A struct
defining some characteristics of a device's screen.
Relationships
Member Of
Client.Device
A
struct
defining all possible information about a (mock) device.
Conforms To
Codable
Equatable
Initializers
init(width:height:scale:dpi:)
public init(width: Int, height: Int, scale: Int, dpi: Int? = nil)
Init.
Parameters
Name | Type | Description |
---|---|---|
width | Int |
A valid |
height | Int |
A valid |
scale | Int |
A valid |
dpi | Int? |
An optional |