ColorRenderingMode

The set of possible working color spaces for color-compositing operations.

EnumerationiOS 13.0+macOS 10.15+tvOS 13.0+watchOS 6.0+ColorRenderingMode in SwiftUI

Declaration

React
type ColorRenderingMode = 'extendedLinear' | 'linear' | 'nonLinear';
Swift
enum ColorRenderingMode

Pass a literal, or build one with SwiftUI.ColorRenderingMode from import { SwiftUI } from 'swiftui-react-native'.

Type properties

Overview

Each color space guarantees the preservation of a particular range of color values.

From Apple’s SwiftUI documentation. Code samples there are Swift.

Used by

See also

More in Appearance.