Contents

init(widthInPixels:heightInPixels:pixelsPerInch:)

Create a display configuration with the specified pixel dimensions and pixel density.

Declaration

init(widthInPixels: Int, heightInPixels: Int, pixelsPerInch: Int)

Parameters

  • widthInPixels:

    The width of the display, in pixels.

  • heightInPixels:

    The height of the display, in pixels.

  • pixelsPerInch:

    The pixel density as a number of pixels per inch.

See Also

Creating the display configuration