Class AreaI.OffsetArea

  • All Implemented Interfaces:
    AreaI
    Enclosing interface:
    AreaI

    public static class AreaI.OffsetArea
    extends Object
    implements AreaI
    • Constructor Detail

      • OffsetArea

        public OffsetArea​(int baseRow,
                          int baseColumn,
                          int relFirstRowIx,
                          int relLastRowIx,
                          int relFirstColIx,
                          int relLastColIx)
    • Method Detail

      • getFirstColumn

        public int getFirstColumn()
        Specified by:
        getFirstColumn in interface AreaI
        Returns:
        the first column number in the area.
      • getFirstRow

        public int getFirstRow()
        Specified by:
        getFirstRow in interface AreaI
        Returns:
        the first row in the area
      • getLastColumn

        public int getLastColumn()
        Specified by:
        getLastColumn in interface AreaI
        Returns:
        lastcolumn in the area
      • getLastRow

        public int getLastRow()
        Specified by:
        getLastRow in interface AreaI
        Returns:
        last row in the range (x2 in x1,y1-x2,y2)