init(pointSize:weight:)
Creates a configuration object with the specified point-size and weight information.
Declaration
convenience init(pointSize: CGFloat, weight: UIImage.SymbolWeight)Parameters
- pointSize:
The system font point size to use for the configuration.
- weight:
The symbol image weight variant to select. Specify a value that is comparable to the font weight of any matching text. For a list of possible values, see Symbolweight.
Return Value
A new symbol configuration object with the specified information.