public class VKUIHelper
extends java.lang.Object
| Constructor and Description |
|---|
VKUIHelper() |
| Modifier and Type | Method and Description |
|---|---|
static android.content.Context |
getApplicationContext() |
static android.graphics.Bitmap |
getRoundedCornerBitmap(android.graphics.Bitmap bitmap,
int maxHeight,
int pixels)
Creates a bitmap with rounded corners
|
@Nullable public static android.content.Context getApplicationContext()
public static android.graphics.Bitmap getRoundedCornerBitmap(android.graphics.Bitmap bitmap,
int maxHeight,
int pixels)
bitmap - source bitmapmaxHeight - maximal height for result bitmappixels - corner radius