Method FromArgb
FromArgb(int)
Creates an XColor structure from a 32-bit ARGB value.
[Obsolete("Use FromArgb(uint argb).")]
public static XColor FromArgb(int argb)
Parameters
argbint
Returns
FromArgb(uint)
Creates an XColor structure from a 32-bit ARGB value.
public static XColor FromArgb(uint argb)
Parameters
argbuint
Returns
FromArgb(int, int, int)
Creates an XColor structure from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque).
public static XColor FromArgb(int red, int green, int blue)
Parameters
redintgreenintblueint
Returns
FromArgb(int, int, int, int)
Creates an XColor structure from the four ARGB component (alpha, red, green, and blue) values.
public static XColor FromArgb(int alpha, int red, int green, int blue)
Parameters
alphaintredintgreenintblueint
Returns
FromArgb(int, XColor)
Creates an XColor structure from the specified alpha value and color.
public static XColor FromArgb(int alpha, XColor color)
Parameters
alphaintcolorXColor