Tesseract-android-tools  1.0
 Todo Clases Namespaces Archivos Funciones Variables
Constants.java
Ir a la documentación de este archivo.
00001 /*
00002  * Copyright (C) 2011 Google Inc.
00003  * 
00004  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
00005  * use this file except in compliance with the License. You may obtain a copy of
00006  * the License at
00007  * 
00008  * http://www.apache.org/licenses/LICENSE-2.0
00009  * 
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
00012  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
00013  * License for the specific language governing permissions and limitations under
00014  * the License.
00015  */
00016 
00026 package com.googlecode.leptonica.android;
00027 
00032 public class Constants {
00060         public static final int L_INSERT = 0;
00061 
00063         public static final int L_COPY = 1;
00064 
00066         public static final int L_CLONE = 2;
00067 
00072         public static final int L_COPY_CLONE = 3;
00073 
00074         /*--------------------------------------------------------------------------*
00075          *                              Sort flags                                  *
00076          *--------------------------------------------------------------------------*/
00077 
00079         public static final int L_SORT_INCREASING = 1;
00080 
00082         public static final int L_SORT_DECREASING = 2;
00083 
00085         public static final int L_SORT_BY_X = 3;
00086 
00088         public static final int L_SORT_BY_Y = 4;
00089 
00091         public static final int L_SORT_BY_WIDTH = 5;
00092 
00094         public static final int L_SORT_BY_HEIGHT = 6;
00095 
00097         public static final int L_SORT_BY_MIN_DIMENSION = 7;
00098 
00100         public static final int L_SORT_BY_MAX_DIMENSION = 8;
00101 
00103         public static final int L_SORT_BY_PERIMETER = 9;
00104 
00106         public static final int L_SORT_BY_AREA = 10;
00107 
00109         public static final int L_SORT_BY_ASPECT_RATIO = 11;
00110 
00121         public static final int IFF_UNKNOWN = 0;
00122 
00123         public static final int IFF_BMP = 1;
00124 
00125         public static final int IFF_JFIF_JPEG = 2;
00126 
00127         public static final int IFF_PNG = 3;
00128 
00129         public static final int IFF_TIFF = 4;
00130 
00131         public static final int IFF_TIFF_PACKBITS = 5;
00132 
00133         public static final int IFF_TIFF_RLE = 6;
00134 
00135         public static final int IFF_TIFF_G3 = 7;
00136 
00137         public static final int IFF_TIFF_G4 = 8;
00138 
00139         public static final int IFF_TIFF_LZW = 9;
00140 
00141         public static final int IFF_TIFF_ZIP = 10;
00142 
00143         public static final int IFF_PNM = 11;
00144 
00145         public static final int IFF_PS = 12;
00146 
00147         public static final int IFF_GIF = 13;
00148 
00149         public static final int IFF_JP2 = 14;
00150 
00151         public static final int IFF_DEFAULT = 15;
00152 
00153         public static final int IFF_SPIX = 16;
00154 }
 Todo Clases Namespaces Archivos Funciones Variables