public class MagnifierView
View that draws magnifier. Magnifier should be properly set up before draw
public MagnifierView(@NotNull
android.content.Context context,
@Nullable
android.util.AttributeSet attrs)
View that draws magnifier. Magnifier should be properly set up before draw
public void drawMagnifier(@Nullable
android.graphics.PointF zoomPoint)
Shows magnifier window for given position on the image.
public void eraseMagnifier()
Hides magnifier window.
public void setImageRotation(float rotation)
Sets rotation for the image preview when it is magnified
rotation - in degreespublic void setupMagnifier(@NotNull
EditPolygonImageView view)
Setup magnifier using given class EditPolygonImageView
class EditPolygonImageViewprotected void dispatchDraw(@NotNull
android.graphics.Canvas canvas)
public void onAttachedToWindow()
public void onDetachedFromWindow()
protected void onLayout(boolean changed,
int left,
int top,
int right,
int bottom)
public void setEnableBounding(boolean enableBounding)
Enables Bounding of magnifier view
enableBounding -