public final class BitmapScaler
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static android.graphics.Bitmap |
scaleToFill(android.graphics.Bitmap b,
int width,
int height) |
static android.graphics.Bitmap |
scaleToFitHeight(android.graphics.Bitmap b,
int height) |
static android.graphics.Bitmap |
scaleToFitWidth(android.graphics.Bitmap b,
int width) |
static android.graphics.Bitmap |
strechToFill(android.graphics.Bitmap b,
int width,
int height) |
public static android.graphics.Bitmap scaleToFitWidth(android.graphics.Bitmap b, int width)
public static android.graphics.Bitmap scaleToFitHeight(android.graphics.Bitmap b, int height)
public static android.graphics.Bitmap scaleToFill(android.graphics.Bitmap b, int width, int height)
public static android.graphics.Bitmap strechToFill(android.graphics.Bitmap b, int width, int height)