Android Utililty Methods Bitmap Reflect

List of utility methods to do Bitmap Reflect

Description

The list of methods to do Bitmap Reflect are organized into topic(s).

Method

BitmapcreateReflectionImageWithOrigin(Bitmap bitmap)
create Reflection Image With Origin
final int reflectionGap = 4;
int width = bitmap.getWidth();
int height = bitmap.getHeight();
Matrix matrix = new Matrix();
matrix.preScale(1, -1);
Bitmap reflectionImage = Bitmap.createBitmap(bitmap, 0, height / 2,
        width, height / 2, matrix, false);
Bitmap bitmapWithReflection = Bitmap.createBitmap(width,
...
BitmapcreateReflectionImageWithOrigin(Bitmap bitmap)
create Reflection Image With Origin
final int reflectionGap = 4;
int width = bitmap.getWidth();
int height = bitmap.getHeight();
Matrix matrix = new Matrix();
matrix.preScale(1, -1);
Bitmap reflectionImage = Bitmap.createBitmap(bitmap, 0, height / 2,
        width, height / 2, matrix, false);
Bitmap bitmapWithReflection = Bitmap.createBitmap(width,
...
BitmaptoReflectionBitmap(Bitmap bitmap)
to Reflection Bitmap
if (bitmap == null) {
    return null;
try {
    int reflectionGap = 1;
    int width = bitmap.getWidth();
    int height = bitmap.getHeight();
    Matrix matrix = new Matrix();
...
BitmaptoReflectionBitmap(Bitmap bitmap)
to Reflection Bitmap
if (bitmap == null) {
    return null;
try {
    int reflectionGap = 1;
    int width = bitmap.getWidth();
    int height = bitmap.getHeight();
    Matrix matrix = new Matrix();
...
BitmapcreateReflectionImageWithOrigin(Bitmap bitmap)
create Reflection Image With Origin
final int reflectionGap = 4;
int w = bitmap.getWidth();
int h = bitmap.getHeight();
Matrix matrix = new Matrix();
matrix.preScale(1, -1);
Bitmap reflectionImage = Bitmap.createBitmap(bitmap, 0, h / 2, w,
        h / 2, matrix, false);
Bitmap bitmapWithReflection = Bitmap.createBitmap(w, (h + h / 2),
...