* Alpha value will be converted from 0-255 range to 0-1. *
* * @param color Android color int * @return String rgba color * @deprecated use {@link com.mapbox.mapboxsdk.utils.ColorUtils#colorToRgbaString(int)} instead */ @Deprecated public static String colorToRgbaString(@ColorInt int color) { return ColorUtils.colorToRgbaString(color); } /** * Converts Android color int to rgba float array. ** Alpha value will be converted from 0-255 range to 0-1. *
* * @param color Android color int * @return int rgba array * @deprecated use {@link com.mapbox.mapboxsdk.utils.ColorUtils#colorToRgbaArray(int)} instead */ @Deprecated public static float[] colorToRgbaArray(@ColorInt int color) { return ColorUtils.colorToRgbaArray(color); } }