Click or drag to resize

DrawingUtilitiesMakeArgb Method

Stores a color into an integer from 4 bytes.

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public static int MakeArgb(
	byte a,
	byte r,
	byte g,
	byte b
)

Parameters

a
Type: SystemByte
Alpha (between 0 and 255)
r
Type: SystemByte
Red (between 0 and 255)
g
Type: SystemByte
Green (between 0 and 255)
b
Type: SystemByte
Blue (between 0 and 255)

Return Value

Type: Int32
An integer containing the ARGB data
See Also