Class CustomPaletteBuilder.ColorNode

Object
ColorNode
Enclosing class:
CustomPaletteBuilder

protected static class CustomPaletteBuilder.ColorNode extends Object
The node of color tree.
  • Field Details

    • isLeaf

      public boolean isLeaf
    • childCount

      public int childCount
    • children

      public CustomPaletteBuilder.ColorNode[] children
    • colorCount

      public int colorCount
    • red

      public long red
    • blue

      public long blue
    • green

      public long green
    • paletteIndex

      public int paletteIndex
    • level

      public int level
    • nextReducible

      public CustomPaletteBuilder.ColorNode nextReducible
  • Constructor Details

    • ColorNode

      public ColorNode()
  • Method Details

    • getLeafChildCount

      public int getLeafChildCount()
    • getRGB

      public int getRGB()