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

Métodos para el escalado de las imágenes. Más...

Lista de todos los miembros.

Clases

enum  ScaleType

Métodos públicos estáticos

static Pix scale (Pix pixs, float scale)
 Scales the Pix to specified scale. If no scaling is required, returns a clone of the source Pix.
static Pix scale (Pix pixs, float scaleX, float scaleY)
 Scales the Pix to specified x and y scale. If no scaling is required, returns a clone of the source Pix.
static Pix scaleToSize (Pix pixs, int width, int height, ScaleType type)
 Scales the Pix to a specified width and height using a specified scaling type (fill, stretch, etc.). Returns a scaled image or a clone of the Pix if no scaling is required.

Funciones estáticas del 'package'

 [static initializer]

Métodos privados estáticos

static native int nativeScale (int nativePix, float scaleX, float scaleY)

Descripción detallada

Métodos para el escalado de las imágenes.

Definición en la línea 32 del archivo Scale.java.


Documentación de las funciones miembro

com.googlecode.leptonica.android.Scale.[static initializer] ( ) [static, package]
static native int com.googlecode.leptonica.android.Scale.nativeScale ( int  nativePix,
float  scaleX,
float  scaleY 
) [static, private]

Gráfico de llamadas a esta función:

static Pix com.googlecode.leptonica.android.Scale.scale ( Pix  pixs,
float  scale 
) [static]

Scales the Pix to specified scale. If no scaling is required, returns a clone of the source Pix.

Parámetros:
pixsthe source Pix
scaledimension scaling factor
Devuelve:
a Pix scaled according to the supplied factors

Definición en la línea 108 del archivo Scale.java.

Gráfico de llamadas a esta función:

static Pix com.googlecode.leptonica.android.Scale.scale ( Pix  pixs,
float  scaleX,
float  scaleY 
) [static]

Scales the Pix to specified x and y scale. If no scaling is required, returns a clone of the source Pix.

Parámetros:
pixsthe source Pix
scaleXx-dimension (width) scaling factor
scaleYy-dimension (height) scaling factor
Devuelve:
a Pix scaled according to the supplied factors

Definición en la línea 124 del archivo Scale.java.

Gráfico de llamadas para esta función:

static Pix com.googlecode.leptonica.android.Scale.scaleToSize ( Pix  pixs,
int  width,
int  height,
ScaleType  type 
) [static]

Scales the Pix to a specified width and height using a specified scaling type (fill, stretch, etc.). Returns a scaled image or a clone of the Pix if no scaling is required.

Parámetros:
pixs
width
height
type
Devuelve:
a scaled image or a clone of the Pix if no scaling is required

Definición en la línea 70 del archivo Scale.java.

Gráfico de llamadas para esta función:


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