Class TBGRAHueMultiGradient

Unit

Declaration

type TBGRAHueMultiGradient = class(TBGRACustomMultiGradient)

Description

Multi-gradient using hue interpolation

Hierarchy

Overview

Methods

Public constructor Create(Colors: array of TBGRAPixel; Positions0To1: array of single; AInterpolation: TBGRAColorInterpolation; ARepetition: TBGRAGradientRepetition = grPad);
Public constructor Create(Colors: array of TExpandedPixel; Positions0To1: array of single; AInterpolation: TBGRAColorInterpolation; ARepetition: TBGRAGradientRepetition = grPad);
Public constructor Create(Colors: array of TBGRAPixel; Positions0To1: array of single; options: THueGradientOptions);
Public constructor Create(Colors: array of TExpandedPixel; Positions0To1: array of single; options: THueGradientOptions);
Public destructor Destroy; override;
Public function GetAverageColor: TBGRAPixel; override;
Public function GetAverageExpandedColor: TExpandedPixel; override;
Public function GetColorAt(position: integer): TBGRAPixel; override;
Public function GetExpandedColorAt(position: integer): TExpandedPixel; override;

Description

Methods

Public constructor Create(Colors: array of TBGRAPixel; Positions0To1: array of single; AInterpolation: TBGRAColorInterpolation; ARepetition: TBGRAGradientRepetition = grPad);

This item has no description.

Public constructor Create(Colors: array of TExpandedPixel; Positions0To1: array of single; AInterpolation: TBGRAColorInterpolation; ARepetition: TBGRAGradientRepetition = grPad);

This item has no description.

Public constructor Create(Colors: array of TBGRAPixel; Positions0To1: array of single; options: THueGradientOptions);

This item has no description.

Public constructor Create(Colors: array of TExpandedPixel; Positions0To1: array of single; options: THueGradientOptions);

This item has no description.

Public destructor Destroy; override;

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