Axiom.Core.ColorEx.ToRGBA C# (CSharp) Method

ToRGBA() public method

public ToRGBA ( ) : int
return int
		public int ToRGBA()
		{
			int result = 0;

			result += ( (int)( r * 255.0f ) ) << 24;
			result += ( (int)( g * 255.0f ) ) << 16;
			result += ( (int)( b * 255.0f ) ) << 8;
			result += ( (int)( a * 255.0f ) );

			return result;
		}