Type Property

ignoresAlpha

Returns a Boolean value indicating whether the app supports alpha.

Declaration

class var ignoresAlpha: Bool { get set }

Return Value

true if the application doesn't support alpha; otherwise false. This value is consulted when an application imports alpha (through color dragging, for instance). The value determines whether the color panel has an opacity slider.

This value is true by default, indicating that the opacity components of imported colors will be set to 1.0. If an application wants alpha, it can invoke the setIgnoresAlpha(_:) method with a parameter of false.

See Also