Tesseract-android-tools  1.0
 Todo Clases Namespaces Archivos Funciones Variables
Métodos públicos | Atributos públicos estáticos | Métodos protegidos | Funciones del 'package' | Funciones estáticas del 'package' | Atributos del 'package' | Métodos privados estáticos | Atributos privados
Referencia de la Clase com.googlecode.leptonica.android.Box

Envoltura para CAJA nativa de Leptonica. Más...

Lista de todos los miembros.

Métodos públicos

 Box (int x, int y, int w, int h)
 Creates a box with the specified geometry. All dimensions should be non-negative and specified in pixels.
int[] getGeometry ()
 Returns an array containing the coordinates of this box. See INDEX_* constants for indices.
boolean getGeometry (int[] geometry)
 Fills an array containing the coordinates of this box. See INDEX_* constants for indices.
int getHeight ()
 Returns the box's height in pixels.
int getWidth ()
 Returns the box's width in pixels.
int getX ()
 Returns the box's x-coordinate in pixels.
int getY ()
 Returns the box's y-coordinate in pixels.
void recycle ()
 Releases resources and frees any memory associated with this Box.

Atributos públicos estáticos

static final int INDEX_H = 3
 The index of the height within the geometry array.
static final int INDEX_W = 2
 The index of the width within the geometry array.
static final int INDEX_X = 0
 The index of the X coordinate within the geometry array.
static final int INDEX_Y = 1
 The index of the Y coordinate within the geometry array.

Métodos protegidos

void finalize () throws Throwable

Funciones del 'package'

 Box (int nativeBox)
 Creates a new Box wrapper for the specified native BOX.

Funciones estáticas del 'package'

 [static initializer]

Atributos del 'package'

final int mNativeBox
 A pointer to the native Box object. This is used internally by native code.

Métodos privados estáticos

static native int nativeCreate (int x, int y, int w, int h)
static native void nativeDestroy (int nativeBox)
static native boolean nativeGetGeometry (int nativeBox, int[] geometry)
static native int nativeGetHeight (int nativeBox)
static native int nativeGetWidth (int nativeBox)
static native int nativeGetX (int nativeBox)
static native int nativeGetY (int nativeBox)

Atributos privados

boolean mRecycled = false

Descripción detallada

Envoltura para CAJA nativa de Leptonica.

Definición en la línea 33 del archivo Box.java.


Documentación del constructor y destructor

com.googlecode.leptonica.android.Box.Box ( int  nativeBox) [package]

Creates a new Box wrapper for the specified native BOX.

Parámetros:
nativeBoxA pointer to the native BOX.

Definición en la línea 64 del archivo Box.java.

com.googlecode.leptonica.android.Box.Box ( int  x,
int  y,
int  w,
int  h 
)

Creates a box with the specified geometry. All dimensions should be non-negative and specified in pixels.

Parámetros:
xX-coordinate of the top-left corner of the box.
yY-coordinate of the top-left corner of the box.
wWidth of the box.
hHeight of the box.

Definición en la línea 82 del archivo Box.java.

Gráfico de llamadas para esta función:


Documentación de las funciones miembro

com.googlecode.leptonica.android.Box.[static initializer] ( ) [static, package]
void com.googlecode.leptonica.android.Box.finalize ( ) throws Throwable [protected]

Definición en la línea 179 del archivo Box.java.

Gráfico de llamadas para esta función:

Returns an array containing the coordinates of this box. See INDEX_* constants for indices.

Devuelve:
an array of box oordinates

Definición en la línea 140 del archivo Box.java.

Fills an array containing the coordinates of this box. See INDEX_* constants for indices.

Parámetros:
geometryA 4+ element integer array to fill with coordinates.
Devuelve:
true on success

Definición en la línea 158 del archivo Box.java.

Gráfico de llamadas para esta función:

Returns the box's height in pixels.

Devuelve:
The box's height in pixels.

Definición en la línea 130 del archivo Box.java.

Gráfico de llamadas para esta función:

Returns the box's width in pixels.

Devuelve:
The box's width in pixels.

Definición en la línea 121 del archivo Box.java.

Gráfico de llamadas para esta función:

Returns the box's x-coordinate in pixels.

Devuelve:
The box's x-coordinate in pixels.

Definición en la línea 103 del archivo Box.java.

Gráfico de llamadas para esta función:

Returns the box's y-coordinate in pixels.

Devuelve:
The box's y-coordinate in pixels.

Definición en la línea 112 del archivo Box.java.

Gráfico de llamadas para esta función:

static native int com.googlecode.leptonica.android.Box.nativeCreate ( int  x,
int  y,
int  w,
int  h 
) [static, private]

Gráfico de llamadas a esta función:

static native void com.googlecode.leptonica.android.Box.nativeDestroy ( int  nativeBox) [static, private]

Gráfico de llamadas a esta función:

static native boolean com.googlecode.leptonica.android.Box.nativeGetGeometry ( int  nativeBox,
int[]  geometry 
) [static, private]

Gráfico de llamadas a esta función:

static native int com.googlecode.leptonica.android.Box.nativeGetHeight ( int  nativeBox) [static, private]

Gráfico de llamadas a esta función:

static native int com.googlecode.leptonica.android.Box.nativeGetWidth ( int  nativeBox) [static, private]

Gráfico de llamadas a esta función:

static native int com.googlecode.leptonica.android.Box.nativeGetX ( int  nativeBox) [static, private]

Gráfico de llamadas a esta función:

static native int com.googlecode.leptonica.android.Box.nativeGetY ( int  nativeBox) [static, private]

Gráfico de llamadas a esta función:

Releases resources and frees any memory associated with this Box.

Definición en la línea 170 del archivo Box.java.

Gráfico de llamadas para esta función:

Gráfico de llamadas a esta función:


Documentación de los datos miembro

The index of the height within the geometry array.

Definición en la línea 48 del archivo Box.java.

The index of the width within the geometry array.

Definición en la línea 45 del archivo Box.java.

The index of the X coordinate within the geometry array.

Definición en la línea 39 del archivo Box.java.

The index of the Y coordinate within the geometry array.

Definición en la línea 42 del archivo Box.java.

A pointer to the native Box object. This is used internally by native code.

Definición en la línea 54 del archivo Box.java.

Definición en la línea 56 del archivo Box.java.


La documentación para esta clase fue generada a partir del siguiente fichero:
 Todo Clases Namespaces Archivos Funciones Variables