C# Класс ThingM.Blink1.ColorProcessor.HtmlHexadecimal

HTML Color in a hexadecimal (#FFFFFF) format.
Наследование: IColorProcessor
Показать файл Открыть проект

Открытые методы

Метод Описание
HtmlHexadecimal ( string htmlColor ) : System

Initializes a new instance of the HtmlHexadecimal class.

ToRgb ( ) : ThingM.Blink1.ColorProcessor.Rgb

Convert the color to the RGB format.

Приватные методы

Метод Описание
IsFormatValid ( string color ) : bool

Validate if the string format match the HTML hexadecimal #FFFFFF format.

Описание методов

HtmlHexadecimal() публичный Метод

Initializes a new instance of the HtmlHexadecimal class.
public HtmlHexadecimal ( string htmlColor ) : System
htmlColor string /// The HTML color in a hexadecimal (#FFFFFF) format. ///
Результат System

ToRgb() публичный Метод

Convert the color to the RGB format.
public ToRgb ( ) : ThingM.Blink1.ColorProcessor.Rgb
Результат ThingM.Blink1.ColorProcessor.Rgb