Class ColorPool


  • public final class ColorPool
    extends java.lang.Object
    A set of Colors reconstructed from possibly many TypePool protos.

    Protos representing the same Color are reconciled while the pool is built. Reconciliation ensures that, within a pool, each ColorId corresponds to at most one Color.

    It's possible for two Color objects with the same ID to have different definitions between different ColorPools, but mixing multiple ColorPools is likely a design error.