Class TBGRAHueGradient

Unit

Declaration

type TBGRAHueGradient = class(TBGRASimpleGradient)

Description

Hue gradient between two colors

Hierarchy

Overview

Methods

Public constructor Create(Color1,Color2: TExpandedPixel; options: THueGradientOptions); overload;
Public constructor Create(Color1,Color2: THSLAPixel; options: THueGradientOptions); overload;
Public constructor Create(AHue1,AHue2: Word; Saturation,Lightness: Word; options: THueGradientOptions); overload;
Public constructor Create(Color1,Color2: TBGRAPixel; options: THueGradientOptions); overload;
Public function GetAverageColor: TBGRAPixel; override;
Public function GetAverageExpandedColor: TExpandedPixel; override;
Protected function InterpolateToBGRA(position: word): TBGRAPixel; override;
Protected function InterpolateToExpanded(position: word): TExpandedPixel; override;

Description

Methods

Public constructor Create(Color1,Color2: TExpandedPixel; options: THueGradientOptions); overload;

This item has no description.

Public constructor Create(Color1,Color2: THSLAPixel; options: THueGradientOptions); overload;

This item has no description.

Public constructor Create(AHue1,AHue2: Word; Saturation,Lightness: Word; options: THueGradientOptions); overload;

This item has no description.

Public constructor Create(Color1,Color2: TBGRAPixel; options: THueGradientOptions); overload;

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

Protected function InterpolateToBGRA(position: word): TBGRAPixel; override;

This item has no description.

Protected function InterpolateToExpanded(position: word): TExpandedPixel; override;

This item has no description.