CurrentValue
public struct CurrentValue : Encodable
Undocumented
-
Shows the currently-selected value above the slider.
Declaration
Swift
public var visible: Bool?
-
The alignment of the value readout relative to the length of the slider.
Declaration
Swift
public var xAnchor: XAnchor?
-
The amount of space, in pixels, between the current value label and the slider.
Declaration
Swift
public var offset: Double?
-
When currentvalue.visible is true, this sets the prefix of the label.
Declaration
Swift
public var prefix: String?
-
When currentvalue.visible is true, this sets the suffix of the label.
Declaration
Swift
public var suffix: String?
-
Sets the font of the current value label text.
Declaration
Swift
public var font: Font?
-
Creates
CurrentValue
object with specified properties.Declaration
Parameters
visible
Shows the currently-selected value above the slider.
xAnchor
The alignment of the value readout relative to the length of the slider.
offset
The amount of space, in pixels, between the current value label and the slider.
prefix
When currentvalue.visible is true, this sets the prefix of the label.
suffix
When currentvalue.visible is true, this sets the suffix of the label.
font
Sets the font of the current value label text.