Class TBGRAMultiGradient

Unit

Declaration

type TBGRAMultiGradient = class(TBGRACustomMultiGradient)

Description

Multi-gradient using RGBA interpolation

Hierarchy

Overview

Fields

Public GammaCorrection: boolean;

Methods

Public constructor Create(Colors: array of TBGRAPixel; AGammaCorrection: boolean; ARepetition: TBGRAGradientRepetition);
Public constructor Create(Colors: array of TBGRAPixel; AGammaCorrection: boolean; ACycle: boolean = false);
Public constructor Create(Colors: array of TExpandedPixel; Positions0To1: array of single; ARepetition: TBGRAGradientRepetition);
Public constructor Create(Colors: array of TExpandedPixel; ARepetition: TBGRAGradientRepetition);
Public constructor Create(Colors: array of TBGRAPixel; Positions0To1: array of single; AGammaCorrection: boolean; ACycle: boolean = false);
Public constructor Create(Colors: array of TBGRAPixel; Positions0To1: array of single; AGammaCorrection: boolean; ARepetition: TBGRAGradientRepetition);
Public function GetAverageColor: TBGRAPixel; override;
Public function GetAverageExpandedColor: TExpandedPixel; override;
Public function GetColorAt(position: integer): TBGRAPixel; override;
Public function GetExpandedColorAt(position: integer): TExpandedPixel; override;
Protected procedure Init(Colors: array of TExpandedPixel; Positions0To1: array of single; AGammaCorrection, ACycle: boolean);
Protected procedure Init(Colors: array of TBGRAPixel; Positions0To1: array of single; AGammaCorrection, ACycle: boolean);

Description

Fields

Public GammaCorrection: boolean;

This item has no description.

Methods

Public constructor Create(Colors: array of TBGRAPixel; AGammaCorrection: boolean; ARepetition: TBGRAGradientRepetition);

This item has no description.

Public constructor Create(Colors: array of TBGRAPixel; AGammaCorrection: boolean; ACycle: boolean = false);

This item has no description.

Public constructor Create(Colors: array of TExpandedPixel; Positions0To1: array of single; ARepetition: TBGRAGradientRepetition);

This item has no description.

Public constructor Create(Colors: array of TExpandedPixel; ARepetition: TBGRAGradientRepetition);

This item has no description.

Public constructor Create(Colors: array of TBGRAPixel; Positions0To1: array of single; AGammaCorrection: boolean; ACycle: boolean = false);

This item has no description.

Public constructor Create(Colors: array of TBGRAPixel; Positions0To1: array of single; AGammaCorrection: boolean; ARepetition: TBGRAGradientRepetition);

This item has no description.

Public function GetAverageColor: TBGRAPixel; override;

This item has no description. Showing description inherited from TBGRACustomGradient.GetAverageColor.

Returns the average color of the gradient

Public function GetAverageExpandedColor: TExpandedPixel; override;

This item has no description. Showing description inherited from TBGRACustomGradient.GetAverageExpandedColor.

Returns the average expanded color of the gradient

Public function GetColorAt(position: integer): TBGRAPixel; override;

This item has no description. Showing description inherited from TBGRACustomGradient.GetColorAt.

Returns the color at a given position. The reference range is from 0 to 65535, however values beyond are possible as well

Public function GetExpandedColorAt(position: integer): TExpandedPixel; override;

This item has no description. Showing description inherited from TBGRACustomGradient.GetExpandedColorAt.

Returns the expanded color at a given position. The reference range is from 0 to 65535, however values beyond are possible as well

Protected procedure Init(Colors: array of TExpandedPixel; Positions0To1: array of single; AGammaCorrection, ACycle: boolean);

This item has no description.

Protected procedure Init(Colors: array of TBGRAPixel; Positions0To1: array of single; AGammaCorrection, ACycle: boolean);

This item has no description.