public void setChromaticity(float[] chromaticity) {
        if (chromaticity.length != 8) {
            throw new IllegalArgumentException();
        }
        this.chromaticity = (float[])(chromaticity.clone());
        chromaticitySet = true;
    }
Sets the white point and primary chromaticities in CIE (x, y)
space.

<p> The <code>chromaticity</code> parameter should be a
<code>float</code> array of length 8 containing the white point
X and Y, red X and Y, green X and Y, and blue X and Y values in
order.

<p> The 'cHRM' chunk will encode this information.
plugins/svg-plugin/batik-codec-fix/src/main/java/org/apache/batik/ext/awt/image/codec/png/PNGEncodeParam.java