Class TBGRAColorTree
Unit
Declaration
type TBGRAColorTree = class(TObject)
Description
Binary tree of colors for color approximation
Hierarchy
- TObject
- TBGRAColorTree
Overview
Methods
Properties
![]() |
property ApproximatedColorCount: integer read GetApproximatedColorCount; |
![]() |
property HasPureTransparentColor: boolean read GetHasPureTransparentColor; |
![]() |
property IsLeaf: boolean read FIsLeaf; |
![]() |
property LargestApparentInterval: integer read FLargestApparentInterval; |
![]() |
property LeafCount: integer read GetLeafCount; |
![]() |
property PureTransparentColorCount: integer read FPureTransparentColorCount; |
![]() |
property Weight: UInt32 read FWeight; |
Description
Methods
![]() |
constructor Create(ADimensions: TColorDimensions; ABitmap: TBGRACustomBitmap; AAlpha: TAlphaChannelPaletteOption); overload; |
This item has no description. |
![]() |
constructor Create(ADimensions: TColorDimensions; APalette: TBGRACustomPalette); overload; |
This item has no description. |
![]() |
constructor Create(ABox: TBGRAColorBox; AOwned: boolean); overload; |
This item has no description. |
![]() |
destructor Destroy; override; |
This item has no description. |
![]() |
function ApproximateColor(AColor: TBGRAPixel): TBGRAPixel; |
This item has no description. |
![]() |
function ApproximateColorIndex(AColor: TBGRAPixel): integer; |
This item has no description. |
![]() |
function FindBiggestLeaf(AMethod: TBiggestLeafMethod): TBGRAColorTree; |
This item has no description. |
![]() |
function GetAsArrayOfApproximatedColors: ArrayOfTBGRAPixel; |
This item has no description. |
![]() |
function GetAsArrayOfWeightedColors: ArrayOfWeightedColor; |
This item has no description. |
![]() |
function SplitIntoPaletteWithSubPalette(ACount: integer; AMethod: TBiggestLeafMethod; ALeafColor: TBGRALeafColorMode; ASubPaletteCount: integer): ArrayOfTBGRAPixel; |
This item has no description. |
![]() |
function TrySplitLeaf: boolean; |
This item has no description. |
![]() |
procedure ComputeLeavesColor(ALeafColor: TBGRALeafColorMode); |
This item has no description. |
![]() |
procedure FreeLeaves; |
This item has no description. |
![]() |
procedure SplitIntoPalette(ACount: integer; AMethod: TBiggestLeafMethod; ALeafColor: TBGRALeafColorMode); |
This item has no description. |
Properties
![]() |
property ApproximatedColorCount: integer read GetApproximatedColorCount; |
This item has no description. |
![]() |
property HasPureTransparentColor: boolean read GetHasPureTransparentColor; |
This item has no description. |
![]() |
property IsLeaf: boolean read FIsLeaf; |
This item has no description. |
![]() |
property LargestApparentInterval: integer read FLargestApparentInterval; |
This item has no description. |
![]() |
property LeafCount: integer read GetLeafCount; |
This item has no description. |
![]() |
property PureTransparentColorCount: integer read FPureTransparentColorCount; |
This item has no description. |
![]() |
property Weight: UInt32 read FWeight; |
This item has no description. |