Declaration

func layerColor(_ dark: Bool) -> NSColor?

Declaration

- (NSColor *) layerColor:(BOOL) dark;

Declaration

layerColor_(dark: bool) -> NSColor

Parameters

dark

Whether to prefer a color for a dark appearance.

Discussion

Palette color layers use their color entry from the first palette. Other layers use the color configured for the associated font master, preferring its dark-appearance variant when requested.

See Also

Resolving Colors