library / com.otaliastudios.zoom

Package com.otaliastudios.zoom

Types

AbsolutePoint

data class AbsolutePoint

This class represents a point on the ZoomEngine content surface.

Alignment

object Alignment

Holds constants for ZoomApi.setAlignment.

ScaledPoint

data class ScaledPoint

This class represents a point on the ZoomEngine content surface.

ZoomApi

interface ZoomApi

An interface for zoom controls.

ZoomEngine

open class ZoomEngine : ZoomApi

A low level class that listens to touch events and posts zoom and pan updates. The most useful output is a Matrix that can be used to do pretty much everything, from canvas drawing to View hierarchies translations.

ZoomImageView

open class ZoomImageView : ImageView, ZoomApi

Uses ZoomEngine to allow zooming and pan events to the inner drawable.

ZoomLayout

open class ZoomLayout : FrameLayout, OnGlobalLayoutListener, ZoomApi

Uses ZoomEngine to allow zooming and pan events onto a view hierarchy. The hierarchy must be contained in a single view, added to this layout (like what you do with a ScrollView).

ZoomLogger

class ZoomLogger

Utility class that can log traces and info.

ZoomSurfaceView

open class ZoomSurfaceView : GLSurfaceView, ZoomApi, Renderer

Uses ZoomEngine to allow zooming and pan events onto a GL rendered surface.