[This is preliminary documentation and is subject to change.]
Contains basic functions to converting colors from/to Ultima Online format (A1R5G5B5).
Namespace:
MulLibAssembly: MulLib (in MulLib.dll) Version: 1.0.0.0
Syntax
C# | Visual Basic | Visual C++ |
public static class UOColorConverter
Public NotInheritable Class UOColorConverter
public ref class UOColorConverter abstract sealed
Members
All Members | Methods ![]() |
![]() ![]() | ![]() ![]() ![]() | ![]() ![]() | ![]() ![]() ![]() ![]() |
Member | Description | |
---|---|---|
![]() ![]() | FromArgb(Int32) |
Converts specified A8R8G8B8 color to A1R5G5B5 format.
|
![]() ![]() | FromColor(Color) |
Converts specified Color to A1R5G5B5 color format.
|
![]() ![]() | ToArgb(UInt16) |
Converts specified A1R5G5B5 color to A8R8G8B8 format.
|
![]() ![]() | ToColor(UInt16) |
Converts specified A1R5G5B5 color to Color object.
|