One Logo Pool Ball
SwiftUI · IOS API REFERENCE

GaugeStyleConfiguration

struct · iOS 16.0+ · SDK 27.1

struct GaugeStyleConfiguration

The properties of a gauge instance.

Members (10)

get · iOS 16.0+

currentValueLabel

TypeScript
get currentValueLabel(): (GaugeStyleConfiguration_CurrentValueLabel) | null
Swift declaration
var currentValueLabel: GaugeStyleConfiguration.CurrentValueLabel?

A view that describes the current value.

set · iOS 16.0+

currentValueLabel

TypeScript
set currentValueLabel(value: (GaugeStyleConfiguration_CurrentValueLabel) | null)
Swift declaration
var currentValueLabel: GaugeStyleConfiguration.CurrentValueLabel?

A view that describes the current value.

get · iOS 16.0+

maximumValueLabel

TypeScript
get maximumValueLabel(): (GaugeStyleConfiguration_MaximumValueLabel) | null
Swift declaration
var maximumValueLabel: GaugeStyleConfiguration.MaximumValueLabel?

A view that describes the maximum of the range for the current value.

set · iOS 16.0+

maximumValueLabel

TypeScript
set maximumValueLabel(value: (GaugeStyleConfiguration_MaximumValueLabel) | null)
Swift declaration
var maximumValueLabel: GaugeStyleConfiguration.MaximumValueLabel?

A view that describes the maximum of the range for the current value.

get · iOS 16.0+

minimumValueLabel

TypeScript
get minimumValueLabel(): (GaugeStyleConfiguration_MinimumValueLabel) | null
Swift declaration
var minimumValueLabel: GaugeStyleConfiguration.MinimumValueLabel?

A view that describes the minimum of the range for the current value.

set · iOS 16.0+

minimumValueLabel

TypeScript
set minimumValueLabel(value: (GaugeStyleConfiguration_MinimumValueLabel) | null)
Swift declaration
var minimumValueLabel: GaugeStyleConfiguration.MinimumValueLabel?

A view that describes the minimum of the range for the current value.

get · iOS 16.0+

label

TypeScript
get label(): GaugeStyleConfiguration_Label
Swift declaration
var label: GaugeStyleConfiguration.Label

A view that describes the purpose of the gauge.

set · iOS 16.0+

label

TypeScript
set label(value: GaugeStyleConfiguration_Label)
Swift declaration
var label: GaugeStyleConfiguration.Label

A view that describes the purpose of the gauge.

get · iOS 16.0+

value

TypeScript
get value(): number
Swift declaration
var value: Double

The current value of the gauge. The valid range is `0.0...1.0`.

set · iOS 16.0+

value

TypeScript
set value(value: number)
Swift declaration
var value: Double

The current value of the gauge. The valid range is `0.0...1.0`.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →