Class TableBorderDescriptor
java.lang.Object
com.itextpdf.layout.renderer.TableBorderDescriptor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate floatprivate floatprivate float[] -
Constructor Summary
ConstructorsConstructorDescriptionTableBorderDescriptor(int borderIndex, float mainCoordinateStart, float crossCoordinate, float[] mainCoordinateWidths) Creates a table border descriptor which will be used while drawing the described border. -
Method Summary
Modifier and TypeMethodDescriptionintfloatfloatfloat[]
-
Field Details
-
borderIndex
private int borderIndex -
mainCoordinateStart
private float mainCoordinateStart -
crossCoordinate
private float crossCoordinate -
mainCoordinateWidths
private float[] mainCoordinateWidths
-
-
Constructor Details
-
TableBorderDescriptor
public TableBorderDescriptor(int borderIndex, float mainCoordinateStart, float crossCoordinate, float[] mainCoordinateWidths) Creates a table border descriptor which will be used while drawing the described border.- Parameters:
borderIndex- the index of the described bordermainCoordinateStart- the border's start main-axis coordinatecrossCoordinate- fixed cross-axis coordinate of the whole bordermainCoordinateWidths- the sizes (widths or heights) of rows or columns depending on the type of main axis
-
-
Method Details
-
getBorderIndex
public int getBorderIndex() -
getMainCoordinateStart
public float getMainCoordinateStart() -
getCrossCoordinate
public float getCrossCoordinate() -
getMainCoordinateWidths
public float[] getMainCoordinateWidths()
-