RSDGrayScale

public struct RSDGrayScale : Codable, Equatable, Hashable, RSDColorFamily

A special-case color swatch for gray scale components.

  • Get the mapping for a given shade.

    Declaration

    Swift

    public func mapping(forShade shade: Shade) -> RSDColorMapping

    Parameters

    shade

    The shade of the color.

    Return Value

    The color mapping for that shade.