Property | Type | Description | |
---|---|---|---|
ColorPalette | Color[] | ||
DefaultColorCodes | byte[] |
Method | Description | |
---|---|---|
GetColor ( int index ) : Color | ||
GetColorByCode ( byte code ) : Color | ||
GetColorIndexByCode ( byte code ) : int | ||
GetNearestColor ( Color color ) : Color | ||
GetNearestColorCode ( Color color ) : byte | ||
GetNearestColorIndex ( Color color ) : byte | ||
Palette ( ) : System | ||
Palette ( |
||
SetColor ( int index, Color color ) : void | ||
Write ( |
Method | Description | |
---|---|---|
GetColorCode ( int index ) : byte |
public static GetColorByCode ( byte code ) : Color | ||
code | byte | |
return | Color |
public static GetColorIndexByCode ( byte code ) : int | ||
code | byte | |
return | int |
public static GetNearestColor ( Color color ) : Color | ||
color | Color | |
return | Color |
public static GetNearestColorCode ( Color color ) : byte | ||
color | Color | |
return | byte |
public GetNearestColorIndex ( Color color ) : byte | ||
color | Color | |
return | byte |
public Palette ( |
||
nibbleReader | ||
return | System |
public SetColor ( int index, Color color ) : void | ||
index | int | |
color | Color | |
return | void |
public Write ( |
||
nibbleWriter | ||
return | void |