Contents

init(horizontal:vertical:)

Initializes a layer rate map with a set of horizontal and vertical rasterization rates.

Declaration

convenience init(horizontal: [Float], vertical: [Float])

Parameters

  • horizontal:

    An array of the horizontal rates to apply across the grid.

  • vertical:

    An array of the vertical rates to apply across the grid.

Return Value

A layer descriptor whose width is the number of horizontal rates and whose height is the number of vertical rates. The layer descriptor copies the values from the input parameters.

See Also

Creating a layer rasterization rate descriptor