Contents

init(pointSize:weight:scale:)

Creates a configuration object with the specified point-size, weight, and scale information.

Declaration

convenience init(pointSize: CGFloat, weight: UIImage.SymbolWeight, scale: UIImage.SymbolScale)

Parameters

  • pointSize:

    The system font point size to use for the configuration.

  • weight:

    The symbol image weight variant to select. Use this parameter to match the weight of the symbol image to your other content. For a list of possible values, see Symbolweight.

  • scale:

    The symbol image scale variant to select. Use this parameter to make the image appear bigger or smaller than text that uses the same point size. For a list of possible values, see Symbolscale.

Return Value

A new symbol configuration object with the specified information.

See Also

Creating a symbol configuration