Class TBGRAApproxPalette
Unit
Declaration
type TBGRAApproxPalette = class(TBGRACustomApproxPalette)
Description
Palette approximating color base on a color tree
Hierarchy
- TObject
- TBGRACustomPalette
- TBGRACustomApproxPalette
- TBGRAApproxPalette
Overview
Methods
constructor Create(const AColors: ArrayOfTBGRAPixel); overload; |
|
constructor Create(const AColors: ArrayOfWeightedColor); overload; |
|
constructor Create(AOwnedSplitTree: TBGRAColorTree); overload; |
|
destructor Destroy; override; |
|
function ContainsColor(AValue: TBGRAPixel): boolean; override; |
|
function FindNearestColor(AValue: TBGRAPixel): TBGRAPixel; override; |
|
function FindNearestColorIndex(AValue: TBGRAPixel): integer; override; |
|
function GetAsArrayOfColor: ArrayOfTBGRAPixel; override; |
|
function GetAsArrayOfWeightedColor: ArrayOfWeightedColor; override; |
|
function IndexOfColor(AValue: TBGRAPixel): integer; override; |
|
function GetColorByIndex(AIndex: integer): TBGRAPixel; override; |
|
function GetCount: integer; override; |
|
function GetWeightByIndex(AIndex: Integer): UInt32; override; |
|
procedure Init(const AColors: ArrayOfTBGRAPixel); |
Description
Methods
constructor Create(const AColors: ArrayOfTBGRAPixel); overload; |
|
This item has no description. |
constructor Create(const AColors: ArrayOfWeightedColor); overload; |
|
This item has no description. |
constructor Create(AOwnedSplitTree: TBGRAColorTree); overload; |
|
This item has no description. |
destructor Destroy; override; |
|
This item has no description. |
function ContainsColor(AValue: TBGRAPixel): boolean; override; |
|
This item has no description. |
function FindNearestColor(AValue: TBGRAPixel): TBGRAPixel; override; |
|
This item has no description. |
function FindNearestColorIndex(AValue: TBGRAPixel): integer; override; |
|
This item has no description. |
function GetAsArrayOfColor: ArrayOfTBGRAPixel; override; |
|
This item has no description. |
function GetAsArrayOfWeightedColor: ArrayOfWeightedColor; override; |
|
This item has no description. |
function IndexOfColor(AValue: TBGRAPixel): integer; override; |
|
This item has no description. |
function GetColorByIndex(AIndex: integer): TBGRAPixel; override; |
|
This item has no description. |
function GetCount: integer; override; |
|
This item has no description. |
function GetWeightByIndex(AIndex: Integer): UInt32; override; |
|
This item has no description. |
procedure Init(const AColors: ArrayOfTBGRAPixel); |
|
This item has no description. |