ColorResolvedHDR
A concrete color value, including HDR headroom information.
Declaration
type ColorResolvedHDR = { color: ColorResolved; headroom?: number | null; };@frozen struct ResolvedHDRProperties
color*ColorResolvedheadroomnumber | nullThe content headroom of the color.
Overview
Color.ResolvedHDR is a set of RGBA values that represent a
color that can be shown. The color components are stored in the
extended sRGB color space and may contain a "headroom" value
describing how the color is rendered for displays with
different dynamic ranges. This is a low-level type, most colors
are represented by the Color type.
- SeeAlso:
Color.Resolved,Color.
From Apple’s SwiftUI documentation. Code samples there are Swift.
Used by
See also
More in Appearance.
- BackgroundProminenceThe prominence of backgrounds underneath other views.
- BadgeProminenceThe visual prominence of a badge.
- ButtonSizingThe sizing behavior of Buttons and other button-like controls.
- ColorA representation of a color that adapts to a given context.
- ColorRenderingModeThe set of possible working color spaces for color-compositing operations.
- ColorResolvedA concrete color value.
- ColorRGBColorSpaceA profile that specifies how to interpret a color value for display.
- ColorSchemeThe possible color schemes, corresponding to the light and dark appearances.
- GlassA structure that defines the configuration of a physical glass material.
- GlassChainGlass with chained calls: SwiftUI.Glass.interactive(...).
- ImageScaleA scale to apply to vector images relative to text.
- ProminenceA type indicating the prominence of a view hierarchy.