DrawingUtilitiesMakeArgb Method |
Stores a color into an integer from 4 bytes.
Namespace:
Rhino.UI
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntaxpublic static int MakeArgb(
byte a,
byte r,
byte g,
byte b
)
Public Shared Function MakeArgb (
a As Byte,
r As Byte,
g As Byte,
b As Byte
) As Integer
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:
Int32An integer containing the ARGB data
See Also