Contents

MACaptionAppearanceCopyForegroundColor(_:_:)

Returns the preference for text color.

Declaration

func MACaptionAppearanceCopyForegroundColor(_ domain: MACaptionAppearanceDomain, _ behavior: UnsafeMutablePointer<MACaptionAppearanceBehavior>?) -> Unmanaged<CGColor>

Parameters

  • 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 NULL when you do not need the behavior setting.

Return Value

The preferred color for caption text.

See Also

Text settings