Métodos para la rotación de las imágenes. Más...
Métodos públicos estáticos | |
static Pix | rotate (Pix pixs, float degrees) |
Performs rotation using the default parameters. | |
static Pix | rotate (Pix pixs, float degrees, boolean quality) |
Performs rotation with resizing using the default parameters. | |
static Pix | rotate (Pix pixs, float degrees, boolean quality, boolean resize) |
Performs basic image rotation about the center. | |
Atributos públicos estáticos | |
static final boolean | ROTATE_QUALITY = true |
Default rotation quality is high. | |
Funciones estáticas del 'package' | |
[static initializer] | |
Métodos privados estáticos | |
static native int | nativeRotate (int nativePix, float degrees, boolean quality, boolean resize) |
Métodos para la rotación de las imágenes.
Definición en la línea 32 del archivo Rotate.java.
com.googlecode.leptonica.android.Rotate.[static initializer] | ( | ) | [static, package] |
static native int com.googlecode.leptonica.android.Rotate.nativeRotate | ( | int | nativePix, |
float | degrees, | ||
boolean | quality, | ||
boolean | resize | ||
) | [static, private] |
static Pix com.googlecode.leptonica.android.Rotate.rotate | ( | Pix | pixs, |
float | degrees | ||
) | [static] |
Performs rotation using the default parameters.
pixs | The source pix. |
degrees | The number of degrees to rotate; clockwise is positive. |
Definición en la línea 51 del archivo Rotate.java.
static Pix com.googlecode.leptonica.android.Rotate.rotate | ( | Pix | pixs, |
float | degrees, | ||
boolean | quality | ||
) | [static] |
Performs rotation with resizing using the default parameters.
pixs | The source pix. |
degrees | The number of degrees to rotate; clockwise is positive. |
quality | Whether to use high-quality rotation. |
Definición en la línea 66 del archivo Rotate.java.
static Pix com.googlecode.leptonica.android.Rotate.rotate | ( | Pix | pixs, |
float | degrees, | ||
boolean | quality, | ||
boolean | resize | ||
) | [static] |
Performs basic image rotation about the center.
Notes:
pixs | The source pix. |
degrees | The number of degrees to rotate; clockwise is positive. |
quality | Whether to use high-quality rotation. |
resize | Whether to expand the output so that no pixels are lost. Note: 1bpp images are always resized when quality is true
|
Definición en la línea 101 del archivo Rotate.java.
final boolean com.googlecode.leptonica.android.Rotate.ROTATE_QUALITY = true [static] |
Default rotation quality is high.
Definición en la línea 40 del archivo Rotate.java.