public float[] getChromaticity() {
        if (!chromaticitySet) {
            throw new IllegalStateException(PropertyUtil.getString("PNGEncodeParam12"));
        }
        return (float[])(chromaticity.clone());
    }
Returns the white point and primary chromaticities in
CIE (x, y) space.

<p> See the documentation for the <code>setChromaticity</code>
method for the format of the returned data.

<p> If the chromaticity has not previously been set, or has been
unset, an <code>IllegalStateException</code> will be thrown.

@throws IllegalStateException if the chromaticity is not set.
plugins/svg-plugin/batik-codec-fix/src/main/java/org/apache/batik/ext/awt/image/codec/png/PNGEncodeParam.java