Class TBGRACustomMultiGradient

Unit

Declaration

type TBGRACustomMultiGradient = class(TBGRACustomGradient)

Description

Abstract class multi color stops gradient

Hierarchy

Overview

Fields

Protected FColors: array of TBGRAPixel;
Protected FEColors: array of TExpandedPixel;
Protected FInterpolationFunction: TGradientInterpolationFunction;
Protected FPositions: array of integer;
Protected FPositionsF: array of single;
Protected FRepetition: TBGRAGradientRepetition;

Methods

Public function CosineInterpolation(t: single): single;
Public class function CreateAny(Colors: array of TEXpandedPixel; Positions0To1: array of single; AInterpolation: TBGRAColorInterpolation; ARepetition: TBGRAGradientRepetition = grPad): TBGRACustomMultiGradient;
Public class function CreateAny(Colors: array of TBGRAPixel; Positions0To1: array of single; AInterpolation: TBGRAColorInterpolation; ARepetition: TBGRAGradientRepetition = grPad): TBGRACustomMultiGradient;
Public function GetMonochrome: boolean; override;
Public function HalfCosineInterpolation(t: single): single;
Protected procedure Init(Colors: array of TExpandedPixel; Positions0To1: array of single);
Protected procedure Init(Colors: array of TBGRAPixel; Positions0To1: array of single);

Properties

Public property ColorCount: integer read GetColorCount;
Public property InterpolationFunction: TGradientInterpolationFunction read FInterpolationFunction write FInterpolationFunction;
Public property Repetition: TBGRAGradientRepetition read FRepetition write FRepetition;

Description

Fields

Protected FColors: array of TBGRAPixel;

This item has no description.

Protected FEColors: array of TExpandedPixel;

This item has no description.

Protected FInterpolationFunction: TGradientInterpolationFunction;

This item has no description.

Protected FPositions: array of integer;

This item has no description.

Protected FPositionsF: array of single;

This item has no description.

Protected FRepetition: TBGRAGradientRepetition;

This item has no description.

Methods

Public function CosineInterpolation(t: single): single;

This item has no description.

Public class function CreateAny(Colors: array of TEXpandedPixel; Positions0To1: array of single; AInterpolation: TBGRAColorInterpolation; ARepetition: TBGRAGradientRepetition = grPad): TBGRACustomMultiGradient;

This item has no description.

Public class function CreateAny(Colors: array of TBGRAPixel; Positions0To1: array of single; AInterpolation: TBGRAColorInterpolation; ARepetition: TBGRAGradientRepetition = grPad): TBGRACustomMultiGradient;

This item has no description.

Public function GetMonochrome: boolean; override;

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

Returns whether the gradient has only one color

Public function HalfCosineInterpolation(t: single): single;

This item has no description.

Protected procedure Init(Colors: array of TExpandedPixel; Positions0To1: array of single);

This item has no description.

Protected procedure Init(Colors: array of TBGRAPixel; Positions0To1: array of single);

This item has no description.

Properties

Public property ColorCount: integer read GetColorCount;

This item has no description.

Public property InterpolationFunction: TGradientInterpolationFunction read FInterpolationFunction write FInterpolationFunction;

This item has no description.

Public property Repetition: TBGRAGradientRepetition read FRepetition write FRepetition;

This item has no description.