public abstract class ImageMatrixCorrector extends MatrixCorrector
| Constructor and Description |
|---|
ImageMatrixCorrector() |
| Modifier and Type | Method and Description |
|---|---|
android.widget.ImageView |
getImageView() |
float |
getInnerFitScale() |
protected float |
getScaledImageHeight()
* Returns the height of the scaled image.
|
protected float |
getScaledImageWidth()
Returns the width of the scaled image.
|
void |
setImageView(android.widget.ImageView imageView)
Sets the
ImageView. |
void |
setMatrix(android.graphics.Matrix matrix)
* * Sets the matrix.
|
protected void |
updateScaledImageDimensions()
(Re)calculates the image's current dimensions.
|
correctAbsolute, correctRelative, getMatrix, getValues, performAbsoluteCorrectionspublic void setMatrix(android.graphics.Matrix matrix)
MatrixCorrectorSets the matrix.
setMatrix in class MatrixCorrectorpublic void setImageView(android.widget.ImageView imageView)
Sets the ImageView. This also sets its inner image matrix as this corrector's matrix automatically.
imageView - public android.widget.ImageView getImageView()
public float getInnerFitScale()
protected void updateScaledImageDimensions()
(Re)calculates the image's current dimensions.
protected float getScaledImageWidth()
Returns the width of the scaled image.
protected float getScaledImageHeight()
Returns the height of the scaled image.