MACaptionAppearanceGetRelativeCharacterSize(_:_:)
Returns the preference for font scaling.
Declaration
func MACaptionAppearanceGetRelativeCharacterSize(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>?) -> CGFloatParameters
- domain:
The domain to retrieve the preference value from. See Macaptionappearancedomain. Pass User unless the system defaults are needed for comparison.
- behavior:
A pointer to memory. On return, this memory holds the caption appearance behavior for this preference setting. For possible values see Macaptionappearancebehavior. Pass
NULLwhen you do not need the behavior setting.
Return Value
The font scaling preference, as a multiplier, for the specified style; ranging from 0.0 to 2.0.