public class IconUtils
extends java.lang.Object
| Constructor and Description |
|---|
IconUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Icon |
drawableToIcon(Context context,
int id,
int colorRes)
Demonstrates converting any Drawable to an Icon, for use as a marker icon.
|
public static Icon drawableToIcon(@NonNull Context context, @DrawableRes int id, @ColorInt int colorRes)