C# 클래스 SimplePaletteQuantizer.ColorCaches.Octree.OctreeCacheNode

파일 보기 프로젝트 열기: RHY3756547/FreeSO 1 사용 예제들

공개 메소드들

메소드 설명
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