MagnifierView

class MagnifierView(context: Context, attrs: AttributeSet?) : View

View that draws magnifier. Magnifier should be properly set up before draw.

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet?)

Functions

Link copied to clipboard
fun drawMagnifier(zoomPoint: PointF?)

Shows magnifier window for given position on the image.

Link copied to clipboard

Hides magnifier window.

Link copied to clipboard
open override fun onAttachedToWindow()
Link copied to clipboard
open override fun onDetachedFromWindow()
Link copied to clipboard
fun setEnableBounding(enableBounding: Boolean)

Enables Bounding of magnifier view.

Link copied to clipboard
fun setImageRotation(rotation: Float)

Sets rotation for the image preview when it is magnified

Link copied to clipboard

Setup magnifier using given EditPolygonImageView.