C# Класс Flood.GUI.Controls.HSVColorPicker

HSV color picker with "before" and "after" color boxes.
Наследование: Control, IColorPicker
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
HSVColorPicker ( Control parent ) : System

Initializes a new instance of the HSVColorPicker class.

SetColor ( System.Color color, bool onlyHue = false, bool reset = false ) : void

Sets the selected color.

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

Метод Описание
ColorBoxChanged ( Control control ) : void
ColorSliderChanged ( Control control ) : void
NumericTyped ( Control control ) : void
UpdateControls ( System.Color color ) : void

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

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

Initializes a new instance of the HSVColorPicker class.
public HSVColorPicker ( Control parent ) : System
parent Control Parent control.
Результат System

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

Sets the selected color.
public SetColor ( System.Color color, bool onlyHue = false, bool reset = false ) : void
color System.Color Color to set.
onlyHue bool Determines whether only the hue should be set.
reset bool Determines whether the "before" color should be set as well.
Результат void