setString(value);
current = read();
if (current == -1) {
return null;
}
float[][] vb = new float[3][];
vb[0] = new float[2];
vb[1] = new float[1];
vb[2] = new float[1];
skipSpaces();
vb[0][0] = parseNumber();
skipCommaSpaces();
vb[0][1] = parseNumber();
skipCommaSpaces();
vb[1][0] = parseNumber();
skipCommaSpaces();
vb[2][0] = parseNumber();
skipSpaces();
if (current != -1) {
throw new IllegalArgumentException();
}
// A negative value for <width> or <height> is an error
if (vb[1][0] < 0 || vb[2][0] < 0) {
throw new IllegalArgumentException();
}
return vb;