Instance Method
update(for:)updateForEnvironment:updateForEnvironment_
Updates the effective color values of the palette color to match the given environment.
Declaration
@MainActor func update(for environment: GSDrawEnvironment?)Declaration
- (void) updateForEnvironment:(GSDrawEnvironment *) environment;Declaration
updateForEnvironment_(environment: GSDrawEnvironment)Discussion
When the environment does not provide sufficient informations, the effective color values are set to NSColor/errorReplacementColor.