Class AutocropOps


  • public class AutocropOps
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      AutocropOps()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int scandown​(java.awt.Color color, int height, int width, int row, PixelsExtractor f, int tolerance)  
      static int scanleft​(java.awt.Color color, int height, int col, PixelsExtractor f, int tolerance)  
      static int scanright​(java.awt.Color color, int height, int width, int col, PixelsExtractor f, int tolerance)
      Starting with the given column index, will return the first column index which contains a colour that does not match the given color.
      static int scanup​(java.awt.Color color, int width, int row, PixelsExtractor f, int tolerance)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AutocropOps

        public AutocropOps()
    • Method Detail

      • scanright

        public static int scanright​(java.awt.Color color,
                                    int height,
                                    int width,
                                    int col,
                                    PixelsExtractor f,
                                    int tolerance)
        Starting with the given column index, will return the first column index which contains a colour that does not match the given color.
      • scanleft

        public static int scanleft​(java.awt.Color color,
                                   int height,
                                   int col,
                                   PixelsExtractor f,
                                   int tolerance)
      • scandown

        public static int scandown​(java.awt.Color color,
                                   int height,
                                   int width,
                                   int row,
                                   PixelsExtractor f,
                                   int tolerance)
      • scanup

        public static int scanup​(java.awt.Color color,
                                 int width,
                                 int row,
                                 PixelsExtractor f,
                                 int tolerance)