Method FromRGBA
FromRGBA(int)
Creates a Color structure from a 32-bit RGBA value.
public static Color FromRGBA(int rgba)
Parameters
rgbaintThe 32-bit RGBA value.
Returns
- Color
A Color structure representing the RGBA value.
FromRGBA(uint)
Creates a Color structure from an unsigned 32-bit RGBA value.
public static Color FromRGBA(uint rgba)
Parameters
rgbauintThe 32-bit RGBA value.
Returns
- Color
A Color structure representing the RGBA value.
FromRGBA(string)
Creates a Color structure from a 32-bit RGBA hex string.
public static Color FromRGBA(string rgbaHexString)
Parameters
rgbaHexStringstringThe 32-bit RGBA hex string.
Returns
- Color
A Color structure representing the RGBA value.