C# Класс SimplePaletteQuantizer.ColorCaches.Octree.OctreeCacheNode

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddColor ( Color color, Int32 paletteIndex, Int32 level ) : void

Adds the color.

GetPaletteIndex ( Color color, Int32 level ) : Color>.Dictionary

Gets the index of the palette.

OctreeCacheNode ( ) : System

Initializes a new instance of the OctreeCacheNode class.

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

Метод Описание
GetColorIndexAtLevel ( Color color, Int32 level ) : Int32

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

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

Adds the color.
public AddColor ( Color color, Int32 paletteIndex, Int32 level ) : void
color Color The color.
paletteIndex System.Int32 Index of the palette.
level System.Int32 The level.
Результат void

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

Gets the index of the palette.
public GetPaletteIndex ( Color color, Int32 level ) : Color>.Dictionary
color Color
level System.Int32
Результат Color>.Dictionary

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

Initializes a new instance of the OctreeCacheNode class.
public OctreeCacheNode ( ) : System
Результат System