* @param array An array of numbers as specified in the PDF Reference for a rectangle type.
*/
public PDRectangle( COSArray array )
{
float[] values = array.toFloatArray();
rectArray = new COSArray();
// we have to start with the lower left corner
rectArray.add( new COSFloat( Math.min(values[0],values[2] )) );
rectArray.add( new COSFloat( Math.min(values[1],values[3] )) );
rectArray.add( new COSFloat( Math.max(values[0],values[2] )) );
rectArray.add( new COSFloat( Math.max(values[1],values[3] )) );