Rgb16
Date: 2019-10-22

org.jmol.util

## Class Rgb16

- java.lang.Object
- - org.jmol.util.Rgb16

-     public final class Rgb16
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `b`
    `int` | `g`
    `int` | `r`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Rgb16()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `diffDiv(Rgb16 a, Rgb16 b, int divisor)`
    `int` | `getArgb()`
    `static Rgb16` | `newI(int argb)`
    `void` | `setAndIncrement(Rgb16 base, Rgb16 inc)`
    `void` | `setInt(int a)`
    `void` | `setRgb(Rgb16 a)`
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### r

          public int r

    - #### g

          public int g

    - #### b

          public int b

  - ### Constructor Detail

    - #### Rgb16

          public Rgb16()

  - ### Method Detail

    - #### newI

          public static Rgb16 newI(int argb)

    - #### setInt

          public void setInt(int a)

    - #### setRgb

          public void setRgb(Rgb16 a)

    - #### diffDiv

          public void diffDiv(Rgb16 a,
                              Rgb16 b,
                              int divisor)

    - #### setAndIncrement

          public void setAndIncrement(Rgb16 base,
                                      Rgb16 inc)

    - #### getArgb

          public int getArgb()

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`