MACaptionAppearanceCopyForegroundColor

Function MACaptionAppearanceCopyForegroundColor 

Source
pub unsafe extern "C-unwind" fn MACaptionAppearanceCopyForegroundColor(
    domain: MACaptionAppearanceDomain,
    behavior: *mut MACaptionAppearanceBehavior,
) -> CFRetained<CGColor>
Available on crate features MACaptionAppearance and objc2-core-graphics only.
Expand description

User preference for foreground/text color.

Parameter domain: Preference domain, see

 MACaptionAppearanceDomain

.

Parameter behavior: (see

 MACaptionAppearanceBehavior

)

Returns: User preference for foreground/text color.

ยงSafety

behavior must be a valid pointer or null.