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, performAbsoluteCorrections
public void setMatrix(android.graphics.Matrix matrix)
MatrixCorrector
Sets the matrix.
setMatrix
in class MatrixCorrector
public 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.