Colorspace

public extension Colorspace
  • Cast constructor, converting any binary integer to a Colorspace.

    Declaration

    Swift

    @inlinable
    init!<I>(_ raw: I) where I : BinaryInteger

    Parameters

    raw

    The raw integer value to initialise the enum from

  • rgb

    Indicates a red/green/blue additive color space.

    Declaration

    Swift

    static let rgb: GdkColorspace