open class ZoomImageView : ImageView, ZoomApi
Uses ZoomEngine to allow zooming and pan events to the inner drawable.
<init> |
ZoomImageView(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) |
engine |
val engine: ZoomEngine |
computeHorizontalScrollOffset |
open fun computeHorizontalScrollOffset(): Int |
computeHorizontalScrollRange |
open fun computeHorizontalScrollRange(): Int |
computeVerticalScrollOffset |
open fun computeVerticalScrollOffset(): Int |
computeVerticalScrollRange |
open fun computeVerticalScrollRange(): Int |
onDraw |
open fun onDraw(canvas: Canvas): Unit |
onSizeChanged |
open fun onSizeChanged(w: Int, h: Int, oldw: Int, oldh: Int): Unit |
onTouchEvent |
open fun onTouchEvent(ev: MotionEvent): Boolean |
setImageDrawable |
open fun setImageDrawable(drawable: Drawable?): Unit |