CalRGB(Library l, Hashtable h) {
        super(l, h);
        Vector m = (Vector) h.get("WhitePoint");
        if (m != null) {
            for (int i = 0; i < 3; i++) {
                whitepoint[i] = ((Number) m.elementAt(i)).floatValue();
            }
        }
        m = (Vector) h.get("Gamma");
        if (m != null) {
            for (int i = 0; i < 3; i++) {
                gamma[i] = ((Number) m.elementAt(i)).floatValue();
            }
        }
        m = (Vector) h.get("Matrix");
        if (m != null) {
            for (int i = 0; i < 9; i++) {
                matrix[i] = ((Number) m.elementAt(i)).floatValue();
            }
        }
    }