Bug 18048 - Android.Graphics.Color does not expose HSV color methods
Summary: Android.Graphics.Color does not expose HSV color methods
Status: VERIFIED DUPLICATE of bug 12048
Alias: None
Product: Android
Classification: Xamarin
Component: BCL Class Libraries ()
Version: 4.12.0
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2014-02-27 08:18 UTC by Tomasz Cielecki
Modified: 2014-02-27 12:29 UTC (History)
2 users (show)

Tags:
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:
Status:
VERIFIED DUPLICATE of bug 12048

Description Tomasz Cielecki 2014-02-27 08:18:05 UTC
According to official Android documentation Android.Graphics.Color has a method called HSVToColor, RGBToHSV and colorToHSV. However, in Xamarin.Android these do not seem to be there.

http://developer.android.com/reference/android/graphics/Color.html#HSVToColor(float[])
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[])

Is there a reason why these are not included?
Comment 1 Ram Chandra 2014-02-27 11:12:05 UTC
I have try to reproduce this issue and i am able to reproduce this issue. 

Refer screencast: http://screencast.com/t/zd46M64KBUY

Environment:

Windows 7 Professional
Xamarin Studio : 4.2.3 (build 59)
Xamarin.Android : 4.10.2
Microsoft Visual Studio Professional 2012
Comment 2 Tomasz Cielecki 2014-02-27 11:14:51 UTC
Ram Chandra, how is that even related to the bug I reported?
Comment 3 Jonathan Pryor 2014-02-27 11:46:51 UTC
Ram was apparently giving a test on Bug #17019.

@Tomasz: The missing HSV* methods is Bug #12048, and should be fixed in Xamarin.Android 4.12.0.

*** This bug has been marked as a duplicate of bug 12048 ***
Comment 4 Ram Chandra 2014-02-27 12:29:03 UTC
@Tomasz : I am sorry Tomasz i have pasted wrong screencast. 

here is the correct screencast : http://screencast.com/t/4FqyCjJR