open class ImageViewUtil
Utility class that deals with operations with an ImageView.
ImageViewUtil()
Utility class that deals with operations with an ImageView. |
open static fun getBitmapRectCenterInside(imageWidth: Float, imageHeight: Float, viewWidth: Float, viewHeight: Float): Rect!
Gets the rectangular position of a Bitmap if it were placed inside a View with scale type set to ImageView.ScaleType. |
|
open static fun getBitmapRectFCenterInside(imageWidth: Float, imageHeight: Float, viewWidth: Float, viewHeight: Float): MultiRect!
Gets the rectangular position of a Bitmap if it were placed inside a View with scale type set to ImageView.ScaleType. |