init(density:)

    Creates a physical dimensions descriptor.

    PNG.PhysicalDimensions.swift:35
    init(density: (x: Int, y: Int, unit: Unit?))

    Parameters

    density

    The number of pixels in each dimension per the given unit of measurement.

    If unit is nil, the pixel density is unknown, and the x and y values specify the pixel aspect ratio only.

    Other members in extension

    Types

    Type members

    Instance members