Bug 12048 - Missing static methods from type android.graphics.Color
Summary: Missing static methods from type android.graphics.Color
Alias: None
Product: Android
Classification: Xamarin
Component: BCL Class Libraries ()
Version: 4.6.x
Hardware: All All
: Normal normal
Target Milestone: 4.12.0 (KitKat)
Assignee: Radek Doulik
: 11475 18048 ()
Depends on:
Reported: 2013-04-30 18:14 UTC by Tom Opgenorth
Modified: 2014-02-27 11:46 UTC (History)
8 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Tom Opgenorth 2013-04-30 18:14:37 UTC
The Android type android.graphics.Color has some static helper method associated with it that are not bound in Xamarin.Android. Here are the methods - 

http://developer.android.com/reference/android/graphics/Color.html#HSVToColor(int, float[])

http://developer.android.com/reference/android/graphics/Color.html#RGBToHSV(int, int, int, float[])

http://developer.android.com/reference/android/graphics/Color.html#colorToHSV(int, float[])
Comment 1 Jonathan Pryor 2013-05-13 16:28:21 UTC
*** Bug 11475 has been marked as a duplicate of this bug. ***
Comment 2 Brett 2014-01-01 02:18:29 UTC
Would be nice to have these method available. It's been 8 months since this was reported.
Comment 3 Jonathan Pryor 2014-01-02 16:47:54 UTC
Fixed in monodroid/2da2df7f.
Comment 4 Jonathan Pryor 2014-01-02 16:51:09 UTC
Fixed in monodroid-4.12-series/0005d987.

This should be included in the next Xamarin.Android 4.12 beta.
Comment 5 Prashant manu 2014-01-03 02:57:26 UTC
I have checked this issue with following builds:

All Mac and Windows
X.S 4.2.3(build 23)
X.Android 4.12.0-1

Now I am getting these three methods  HSVToColor, RGBToHSV, colorToHSV. This is the screencast for the same: http://screencast.com/t/M2Xe5pKcuH
Comment 6 Jonathan Pryor 2014-02-27 11:46:51 UTC
*** Bug 18048 has been marked as a duplicate of this bug. ***