Constants that indicate the rendering mode for an `Image` in when displayed in a widget
in ``WidgetKit/WidgetRenderingMode/accented`` mode.
Members (4)
get · iOS 18.0+
desaturated
TypeScript
static get desaturated(): WidgetAccentedRenderingMode
Swift declaration
static let desaturated: WidgetAccentedRenderingMode
Maps the luminance of the `Image` in to the alpha channel, replacing color
channels with the color applied to the default group.
get · iOS 18.0+
accentedDesaturated
TypeScript
static get accentedDesaturated(): WidgetAccentedRenderingMode
Swift declaration
static let accentedDesaturated: WidgetAccentedRenderingMode
Maps the luminance of the `Image` in to the alpha channel, replacing color
channels with the color applied to the accent group.
get · iOS 18.0+
accented
TypeScript
static get accented(): WidgetAccentedRenderingMode
Swift declaration
static let accented: WidgetAccentedRenderingMode
Specifies that the `Image` should be included as part of the accented widget group.
It is equivalent to applying the `.widgetAccentable()` modifier to the `Image`.
get · iOS 18.0+
fullColor
TypeScript
static get fullColor(): WidgetAccentedRenderingMode
Swift declaration
static let fullColor: WidgetAccentedRenderingMode
Specifies that the `Image` should be rendered at full color with no other
color modifications. Only applies to iOS.