RSDSeverityColorScale
open class RSDSeverityColorScale
Color rules for defining a scale for a series of colors.
-
A numeric scale of 0-3 for the severity of a symptom or condition.
Declaration
Swift
public enum Scale : Int, Codable -
The color palette that backs this rule.
Declaration
Swift
public var grayScale: RSDGrayScale -
The fill color of the button representing this scale value.
Declaration
Swift
open func fill(for value: Int, isSelected: Bool) -> RSDColorParameters
valueThe scale value.
isSelectedWhether or not the button is selected.
Return Value
The fill color for the button.
-
The stroke color of the button representing this scale value.
Declaration
Swift
open func stroke(for value: Int, isSelected: Bool) -> RSDColorParameters
valueThe scale value.
isSelectedWhether or not the button is selected.
Return Value
The stroke color for the button.
View on GitHub
RSDSeverityColorScale Class Reference