public static interface SubsamplingScaleImageView.OnStateChangedListener
| Modifier and Type | Method and Description |
|---|---|
void |
onCenterChanged(android.graphics.PointF newCenter,
int origin)
The source center has been changed.
|
void |
onScaleChanged(float newScale,
int origin)
The scale has changed.
|
void onScaleChanged(float newScale,
int origin)
SubsamplingScaleImageView.getMaxScale() and SubsamplingScaleImageView.getMinScale() to determine
whether the image is fully zoomed in or out.newScale - The new scale.origin - Where the event originated from - one of SubsamplingScaleImageView.ORIGIN_ANIM, SubsamplingScaleImageView.ORIGIN_TOUCH.void onCenterChanged(android.graphics.PointF newCenter,
int origin)
newCenter - The new source center point.origin - Where the event originated from - one of SubsamplingScaleImageView.ORIGIN_ANIM, SubsamplingScaleImageView.ORIGIN_TOUCH.