C# Класс Netsy.DataModel.RgbColor

A color value as RGB (red, green and blue)
Наследование: EtsyColor
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
RgbColor ( int red, int green, int blue ) : System.Globalization

Initializes a new instance of the RgbColor class from numeric values

RgbColor ( string value ) : System.Globalization

Initializes a new instance of the RgbColor class from a string value

ToString ( ) : string

Display for debug or for sending to server

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

Метод Описание
TwoDigitsHex ( int value ) : string

Turn the number into two hex digits, with leading zero

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

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

Initializes a new instance of the RgbColor class from numeric values
public RgbColor ( int red, int green, int blue ) : System.Globalization
red int the red value of the color
green int the green value of the color
blue int the blue value of the color>
Результат System.Globalization

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

Initializes a new instance of the RgbColor class from a string value
public RgbColor ( string value ) : System.Globalization
value string contains the full color value
Результат System.Globalization

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

Display for debug or for sending to server
public ToString ( ) : string
Результат string