Interface ZoomableSharingView.ZoomableSharingViewStateListener
-
- All Known Subinterfaces:
ZoomableImageView.ZoomableImageViewStateListener
- All Known Implementing Classes:
DrawingView
- Enclosing interface:
- ZoomableSharingView
public static interface ZoomableSharingView.ZoomableSharingViewStateListenerState listener: bitmap changes, scale changes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonBitmapChanged(android.graphics.Bitmap newBitmap)Notifies listener when bitmap changes throughZoomableSharingView.setImageBitmap(Bitmap, boolean).voidonScaleOrPositionChanged(float newScale, android.graphics.PointF newPosition, android.graphics.RectF imageBoundsRect)Notifies listener that scale or position of bitmap changes inside this view.
-
-
-
Method Detail
-
onBitmapChanged
void onBitmapChanged(android.graphics.Bitmap newBitmap)
Notifies listener when bitmap changes throughZoomableSharingView.setImageBitmap(Bitmap, boolean).- Parameters:
newBitmap- changed bitmap image.
-
onScaleOrPositionChanged
void onScaleOrPositionChanged(float newScale, android.graphics.PointF newPosition, android.graphics.RectF imageBoundsRect)Notifies listener that scale or position of bitmap changes inside this view.- Parameters:
newScale- new scale of bitmap image.newPosition- new coordinates of bitmap image.imageBoundsRect- new image bounds.
-
-