Class TableBorderDescriptor


  • class TableBorderDescriptor
    extends java.lang.Object
    • Field Detail

      • borderIndex

        private int borderIndex
      • mainCoordinateStart

        private float mainCoordinateStart
      • crossCoordinate

        private float crossCoordinate
      • mainCoordinateWidths

        private float[] mainCoordinateWidths
    • Constructor Detail

      • 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 border
        mainCoordinateStart - the border's start main-axis coordinate
        crossCoordinate - fixed cross-axis coordinate of the whole border
        mainCoordinateWidths - the sizes (widths or heights) of rows or columns depending on the type of main axis
    • Method Detail

      • getBorderIndex

        public int getBorderIndex()
      • getMainCoordinateStart

        public float getMainCoordinateStart()
      • getCrossCoordinate

        public float getCrossCoordinate()
      • getMainCoordinateWidths

        public float[] getMainCoordinateWidths()