2D zoom and pan behavior for View hierarchies, images, video streams, and much more, written in Kotlin for Android.
See changelog.
See changelog.
See changelog.
See CHANGELOG.
See CHANGELOG.
See CHANGELOG.
See CHANGELOG.
See CHANGELOG.
ZoomEngine.SimpleListener
class: it extends ZoomEngine.Listener
, but instead of a matrix, provides the zoom and pan values. (#59)ZoomEngine
using addListener
instead of passing one to the constructor. Old constructor is deprecated. (#59)ZoomEngine.setContentSize(RectF)
is deprecated. Please use ZoomEngine.setContentSize(float, float)
. You can optionally pass a boolean to apply the engine transformation. (#59)ZoomEngine.setContainerSize(float, float)
lets you override the view container size. Normally you don't need this because the container size is determined using a layout listener. But sometimes you might. (#59)setAnimationDuration
API to set the duration of pan/zoom animations (#59)