public class

ColorUtils

extends Object
java.lang.Object
   ↳ org.anddev.andengine.util.ColorUtils

Class Overview

(c) 2010 Nicolas Gramlich (c) 2011 Zynga Inc.

Summary

Public Constructors
ColorUtils()
Public Methods
static int HSVToColor(float pHue, float pSaturation, float pValue)
static int RGBToColor(float pRed, float pGreen, float pBlue)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ColorUtils ()

Public Methods

public static int HSVToColor (float pHue, float pSaturation, float pValue)

Parameters
pHue [0 .. 360)
pSaturation [0...1]
pValue [0...1]

public static int RGBToColor (float pRed, float pGreen, float pBlue)