EntityColorLookUpRgb Method
|
Returns the RGB color value and the color
method corresponding to the specified color index (ACI).
Namespace: Teigha.Colors
Assembly: TD_Mgd (in TD_Mgd.dll) Version:
24.2.0.0
Syntax
public static int LookUpRgb(
byte colorIndex
)
Public Shared Function LookUpRgb (
colorIndex As Byte
) As Integer
public:
static int LookUpRgb(
unsigned char colorIndex
)
static member LookUpRgb :
colorIndex : byte -> int
Parameters
- colorIndex Byte
- Color index.
Return Value
Int32
Int value representing the color value and color method.
Remarks
Color value and
color method are packed as follows:
Byte |
Description |
0 |
Blue component |
1 |
Green component |
2 |
Red component |
high |
Color method |
See Also