Instance Method
effectiveColor(in:)effectiveColorInSetting:effectiveColorInSetting_
Resolves the palette color to a regular color object.
Declaration
@MainActor func effectiveColor(in setting: GSDrawEnvironment.Setting) -> NSColorDeclaration
- (NSColor *) effectiveColorInSetting:(GSDrawEnvironmentSetting) setting;Declaration
effectiveColorInSetting_(setting: GSDrawEnvironmentSetting) -> NSColorDiscussion
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.