public interface IAttacher
| 限定符和类型 | 字段和说明 |
|---|---|
static float |
DEFAULT_MAX_SCALE |
static float |
DEFAULT_MID_SCALE |
static float |
DEFAULT_MIN_SCALE |
static long |
ZOOM_DURATION |
| 限定符和类型 | 方法和说明 |
|---|---|
float |
getMaximumScale() |
float |
getMediumScale() |
float |
getMinimumScale() |
OnPhotoTapListener |
getOnPhotoTapListener() |
OnViewTapListener |
getOnViewTapListener() |
float |
getScale() |
void |
setAllowParentInterceptOnEdge(boolean allow) |
void |
setMaximumScale(float maximumScale) |
void |
setMediumScale(float mediumScale) |
void |
setMinimumScale(float minimumScale) |
void |
setOnDoubleTapListener(android.view.GestureDetector.OnDoubleTapListener listener) |
void |
setOnLongClickListener(android.view.View.OnLongClickListener listener) |
void |
setOnPhotoTapListener(OnPhotoTapListener listener) |
void |
setOnScaleChangeListener(OnScaleChangeListener listener) |
void |
setOnViewTapListener(OnViewTapListener listener) |
void |
setOrientation(int orientation) |
void |
setScale(float scale) |
void |
setScale(float scale,
boolean animate) |
void |
setScale(float scale,
float focalX,
float focalY,
boolean animate) |
void |
setZoomTransitionDuration(long duration) |
void |
update(int imageInfoWidth,
int imageInfoHeight) |
static final float DEFAULT_MAX_SCALE
static final float DEFAULT_MID_SCALE
static final float DEFAULT_MIN_SCALE
static final long ZOOM_DURATION
float getMinimumScale()
float getMediumScale()
float getMaximumScale()
void setMaximumScale(float maximumScale)
void setMediumScale(float mediumScale)
void setMinimumScale(float minimumScale)
float getScale()
void setScale(float scale)
void setScale(float scale,
boolean animate)
void setScale(float scale,
float focalX,
float focalY,
boolean animate)
void setOrientation(int orientation)
void setZoomTransitionDuration(long duration)
void setAllowParentInterceptOnEdge(boolean allow)
void setOnDoubleTapListener(android.view.GestureDetector.OnDoubleTapListener listener)
void setOnScaleChangeListener(OnScaleChangeListener listener)
void setOnLongClickListener(android.view.View.OnLongClickListener listener)
void setOnPhotoTapListener(OnPhotoTapListener listener)
void setOnViewTapListener(OnViewTapListener listener)
OnPhotoTapListener getOnPhotoTapListener()
OnViewTapListener getOnViewTapListener()
void update(int imageInfoWidth,
int imageInfoHeight)