Package com.lowagie.text.pdf
Class MultiColumnText.ColumnDef
java.lang.Object
com.lowagie.text.pdf.MultiColumnText.ColumnDef
- Enclosing class:
MultiColumnText
Inner class used to define a column
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
isSimple()
Checks if column definition is a simple rectangleprivate float[]
resolvePositions
(float[] positions) (package private) float[]
resolvePositions
(int side) Resolves the positions for the specified side of the column into real numbers once the top of the column is known.
-
Field Details
-
left
private float[] left -
right
private float[] right
-
-
Constructor Details
-
ColumnDef
ColumnDef(float[] newLeft, float[] newRight) -
ColumnDef
ColumnDef(float leftPosition, float rightPosition)
-
-
Method Details
-
resolvePositions
float[] resolvePositions(int side) Resolves the positions for the specified side of the column into real numbers once the top of the column is known.- Parameters:
side
- eitherRectangle.LEFT
orRectangle.RIGHT
- Returns:
- the array of floats for the side
-
resolvePositions
private float[] resolvePositions(float[] positions) -
isSimple
private boolean isSimple()Checks if column definition is a simple rectangle- Returns:
- true if it is a simple column
-