Class TBGRACustomPalette
Unit
Declaration
type TBGRACustomPalette = class(TObject)
Description
Abstract class containing a palette
Hierarchy
- TObject
- TBGRACustomPalette
Overview
Methods
function ContainsColor(AValue: TBGRAPixel): boolean; virtual; abstract; |
|
function GetAsArrayOfColor: ArrayOfTBGRAPixel; virtual; abstract; |
|
function GetAsArrayOfWeightedColor: ArrayOfWeightedColor; virtual; abstract; |
|
function IndexOfColor(AValue: TBGRAPixel): integer; virtual; abstract; |
|
function GetColorByIndex(AIndex: integer): TBGRAPixel; virtual; abstract; |
|
function GetCount: integer; virtual; abstract; |
|
procedure AssignTo(APalette: TFPPalette); overload; |
|
procedure AssignTo(AImage: TFPCustomImage); overload; |
Properties
property Color[AIndex: integer]: TBGRAPixel read GetColorByIndex; |
|
property Count: integer read GetCount; |
|
property DominantColor: TBGRAPixel read GetDominantColor; |
Description
Methods
function ContainsColor(AValue: TBGRAPixel): boolean; virtual; abstract; |
|
This item has no description. |
function GetAsArrayOfColor: ArrayOfTBGRAPixel; virtual; abstract; |
|
This item has no description. |
function GetAsArrayOfWeightedColor: ArrayOfWeightedColor; virtual; abstract; |
|
This item has no description. |
function IndexOfColor(AValue: TBGRAPixel): integer; virtual; abstract; |
|
This item has no description. |
function GetColorByIndex(AIndex: integer): TBGRAPixel; virtual; abstract; |
|
This item has no description. |
function GetCount: integer; virtual; abstract; |
|
This item has no description. |
procedure AssignTo(APalette: TFPPalette); overload; |
|
This item has no description. |
procedure AssignTo(AImage: TFPCustomImage); overload; |
|
This item has no description. |
Properties
property Color[AIndex: integer]: TBGRAPixel read GetColorByIndex; |
|
This item has no description. |
property Count: integer read GetCount; |
|
This item has no description. |
property DominantColor: TBGRAPixel read GetDominantColor; |
|
This item has no description. |