Enum StripType

    • Enum Constant Detail

      • SK6812_RGBW

        public static final StripType SK6812_RGBW
      • SK6812_RBGW

        public static final StripType SK6812_RBGW
      • SK6812_GRBW

        public static final StripType SK6812_GRBW
      • SK6812_GBRW

        public static final StripType SK6812_GBRW
      • SK6812_BRGW

        public static final StripType SK6812_BRGW
      • SK6812_BGRW

        public static final StripType SK6812_BGRW
      • WS2811_RGB

        public static final StripType WS2811_RGB
      • WS2811_RBG

        public static final StripType WS2811_RBG
      • WS2811_GRB

        public static final StripType WS2811_GRB
      • WS2811_GBR

        public static final StripType WS2811_GBR
      • WS2811_BRG

        public static final StripType WS2811_BRG
      • WS2811_BGR

        public static final StripType WS2811_BGR
    • Method Detail

      • values

        public static StripType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (StripType c : StripType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StripType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getWhiteShift

        public int getWhiteShift()
      • getRedShift

        public int getRedShift()
      • getGreenShift

        public int getGreenShift()
      • getBlueShift

        public int getBlueShift()
      • getColourCount

        public int getColourCount()