Beispiel #1
0
 /// <summary>
 /// Create an SFML color instance from a Flash-style uint (0xRRGGBB)
 /// </summary>
 /// <param name="color">A Flash-style color (0xRRGGBB)</param>
 /// <returns>The converted color</returns>
 public static Color Color(uint color)
 {
     return(new Color(FP.GetRed(color), FP.GetGreen(color), FP.GetBlue(color)));
 }