internal ColumnDef(float leftPosition, float rightPosition, MultiColumnText mc) { this.mc = mc; left = new float[4]; left[0] = leftPosition; // x1 left[1] = mc.top; // y1 left[2] = leftPosition; // x2 if (mc.desiredHeight == AUTOMATIC || mc.top == AUTOMATIC) { left[3] = AUTOMATIC; } else { left[3] = mc.top - mc.desiredHeight; } right = new float[4]; right[0] = rightPosition; // x1 right[1] = mc.top; // y1 right[2] = rightPosition; // x2 if (mc.desiredHeight == AUTOMATIC || mc.top == AUTOMATIC) { right[3] = AUTOMATIC; } else { right[3] = mc.top - mc.desiredHeight; } }
internal ColumnDef(float[] newLeft, float[] newRight, MultiColumnText mc) { this.mc = mc; left = newLeft; right = newRight; }