Declaration

@MainActor func effectiveColor(in setting: GSDrawEnvironment.Setting) -> NSColor

Declaration

- (NSColor *) effectiveColorInSetting:(GSDrawEnvironmentSetting) setting;

Declaration

effectiveColorInSetting_(setting: GSDrawEnvironmentSetting) -> NSColor

Discussion

The color is resolved with respect to the given setting.

The color performs functionally equivalent to the palette color except that it immutable. That is, modifications to the color palette do not affect the returned color.