Declaration

init(index: UInt16, alphaFactor: CGFloat, environment: GSDrawEnvironment?)

Declaration

- (instancetype) initWithIndex:(uint16_t) index alphaFactor:(CGFloat) alphaFactor environment:(GSDrawEnvironment *) environment;

Declaration

initWithIndex_alphaFactor_environment_(index: int, alphaFactor: float, environment: GSDrawEnvironment) -> GSPaletteColor

Discussion

When the environment does not provide sufficient informations, the effective color values are set to NSColor/errorReplacementColor.