Class TBGRACustomPalette

Unit

Declaration

type TBGRACustomPalette = class(TObject)

Description

Abstract class containing a palette

Hierarchy

Overview

Methods

Public function ContainsColor(AValue: TBGRAPixel): boolean; virtual; abstract;
Public function GetAsArrayOfColor: ArrayOfTBGRAPixel; virtual; abstract;
Public function GetAsArrayOfWeightedColor: ArrayOfWeightedColor; virtual; abstract;
Public function IndexOfColor(AValue: TBGRAPixel): integer; virtual; abstract;
Protected function GetColorByIndex(AIndex: integer): TBGRAPixel; virtual; abstract;
Protected function GetCount: integer; virtual; abstract;
Public procedure AssignTo(APalette: TFPPalette); overload;
Public procedure AssignTo(AImage: TFPCustomImage); overload;

Properties

Public property Color[AIndex: integer]: TBGRAPixel read GetColorByIndex;
Public property Count: integer read GetCount;
Public property DominantColor: TBGRAPixel read GetDominantColor;

Description

Methods

Public function ContainsColor(AValue: TBGRAPixel): boolean; virtual; abstract;

This item has no description.

Public function GetAsArrayOfColor: ArrayOfTBGRAPixel; virtual; abstract;

This item has no description.

Public function GetAsArrayOfWeightedColor: ArrayOfWeightedColor; virtual; abstract;

This item has no description.

Public function IndexOfColor(AValue: TBGRAPixel): integer; virtual; abstract;

This item has no description.

Protected function GetColorByIndex(AIndex: integer): TBGRAPixel; virtual; abstract;

This item has no description.

Protected function GetCount: integer; virtual; abstract;

This item has no description.

Public procedure AssignTo(APalette: TFPPalette); overload;

This item has no description.

Public procedure AssignTo(AImage: TFPCustomImage); overload;

This item has no description.

Properties

Public property Color[AIndex: integer]: TBGRAPixel read GetColorByIndex;

This item has no description.

Public property Count: integer read GetCount;

This item has no description.

Public property DominantColor: TBGRAPixel read GetDominantColor;

This item has no description.