Class TFPPalette

Unit

Declaration

type TFPPalette = class(TObject)

Description

This item has no description.

Hierarchy

Overview

Fields

Protected FData: PFPColorArray;
Protected FCount: integer;
Protected FCapacity: integer;

Methods

Protected procedure SetCount(Value:integer); virtual;
Protected function GetCount: integer;
Protected procedure SetColor(index:integer; const Value:TFPColor); virtual;
Protected function GetColor(index:integer) : TFPColor;
Protected procedure SetCapacity(ind : Integer);
Protected procedure CheckIndex(index:integer); virtual;
Protected procedure EnlargeData; virtual;
Public constructor Create(ACount : integer);
Public destructor Destroy; override;
Public procedure Build(Img : TFPCustomImage); virtual;
Public procedure Copy(APalette: TFPPalette); virtual;
Public procedure Merge(pal : TFPPalette); virtual;
Public function IndexOf(const AColor: TFPColor) : integer; virtual;
Public function Add(const Value: TFPColor) : integer; virtual;
Public procedure Clear; virtual;

Properties

Public property Color [Index: integer]: TFPColor read GetColor write SetColor;
Public property Count : integer read GetCount write SetCount;
Public property Capacity : integer read FCapacity write SetCapacity;

Description

Fields

Protected FData: PFPColorArray;

This item has no description.

Protected FCount: integer;

This item has no description.

Protected FCapacity: integer;

This item has no description.

Methods

Protected procedure SetCount(Value:integer); virtual;

This item has no description.

Protected function GetCount: integer;

This item has no description.

Protected procedure SetColor(index:integer; const Value:TFPColor); virtual;

This item has no description.

Protected function GetColor(index:integer) : TFPColor;

This item has no description.

Protected procedure SetCapacity(ind : Integer);

This item has no description.

Protected procedure CheckIndex(index:integer); virtual;

This item has no description.

Protected procedure EnlargeData; virtual;

This item has no description.

Public constructor Create(ACount : integer);

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public procedure Build(Img : TFPCustomImage); virtual;

This item has no description.

Public procedure Copy(APalette: TFPPalette); virtual;

This item has no description.

Public procedure Merge(pal : TFPPalette); virtual;

This item has no description.

Public function IndexOf(const AColor: TFPColor) : integer; virtual;

This item has no description.

Public function Add(const Value: TFPColor) : integer; virtual;

This item has no description.

Public procedure Clear; virtual;

This item has no description.

Properties

Public property Color [Index: integer]: TFPColor read GetColor write SetColor;

This item has no description.

Public property Count : integer read GetCount write SetCount;

This item has no description.

Public property Capacity : integer read FCapacity write SetCapacity;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.