Class TBGRAApproxPaletteViaLargerPalette

Unit

Declaration

type TBGRAApproxPaletteViaLargerPalette = class(TBGRAApproxPalette)

Description

Palette approximating via a large palette

Hierarchy

Overview

Methods

Public constructor Create(const AColors: ArrayOfTBGRAPixel; ALarger: TBGRACustomApproxPalette; ALargerOwned: boolean);
Public destructor Destroy; override;
Public function FindNearestColor(AValue: TBGRAPixel): TBGRAPixel; override;
Public function FindNearestColorIndex(AValue: TBGRAPixel): integer; override;
Public function GetAsArrayOfWeightedColor: ArrayOfWeightedColor; override;
Protected function FindNearestLargerColorIndex(AValue: TBGRAPixel): integer; virtual;
Protected function SlowFindNearestColorIndex(AValue: TBGRAPixel): integer;

Description

Methods

Public constructor Create(const AColors: ArrayOfTBGRAPixel; ALarger: TBGRACustomApproxPalette; ALargerOwned: boolean);

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public function FindNearestColor(AValue: TBGRAPixel): TBGRAPixel; override;

This item has no description.

Public function FindNearestColorIndex(AValue: TBGRAPixel): integer; override;

This item has no description.

Public function GetAsArrayOfWeightedColor: ArrayOfWeightedColor; override;

This item has no description.

Protected function FindNearestLargerColorIndex(AValue: TBGRAPixel): integer; virtual;

This item has no description.

Protected function SlowFindNearestColorIndex(AValue: TBGRAPixel): integer;

This item has no description.