Class TBGRACustomApproxPalette

Unit

Declaration

type TBGRACustomApproxPalette = class(TBGRACustomPalette)

Description

Abstract palette that can find an approximate matching color

Hierarchy

Overview

Methods

Public function FindNearestColor(AValue: TBGRAPixel): TBGRAPixel; overload; virtual; abstract;
Public function FindNearestColor(AValue: TBGRAPixel; AIgnoreAlpha: boolean): TBGRAPixel; overload;
Public function FindNearestColorIndex(AValue: TBGRAPixel): integer; overload; virtual; abstract;
Public function FindNearestColorIndex(AValue: TBGRAPixel; AIgnoreAlpha: boolean): integer; overload;
Protected function GetWeightByIndex(AIndex: Integer): UInt32; virtual;

Properties

Public property Weight[AIndex: Integer]: UInt32 read GetWeightByIndex;

Description

Methods

Public function FindNearestColor(AValue: TBGRAPixel): TBGRAPixel; overload; virtual; abstract;

This item has no description.

Public function FindNearestColor(AValue: TBGRAPixel; AIgnoreAlpha: boolean): TBGRAPixel; overload;

This item has no description.

Public function FindNearestColorIndex(AValue: TBGRAPixel): integer; overload; virtual; abstract;

This item has no description.

Public function FindNearestColorIndex(AValue: TBGRAPixel; AIgnoreAlpha: boolean): integer; overload;

This item has no description.

Protected function GetWeightByIndex(AIndex: Integer): UInt32; virtual;

This item has no description.

Properties

Public property Weight[AIndex: Integer]: UInt32 read GetWeightByIndex;

This item has no description.