Class TBGRACustomMultiGradient
Unit
Declaration
type TBGRACustomMultiGradient = class(TBGRACustomGradient)
Description
Abstract class multi color stops gradient
Hierarchy
- TObject
- TBGRACustomGradient
- TBGRACustomMultiGradient
Overview
Fields
FColors: array of TBGRAPixel; |
|
FEColors: array of TExpandedPixel; |
|
FInterpolationFunction: TGradientInterpolationFunction; |
|
FPositions: array of integer; |
|
FPositionsF: array of single; |
|
FRepetition: TBGRAGradientRepetition; |
Methods
function CosineInterpolation(t: single): single; |
|
class function CreateAny(Colors: array of TEXpandedPixel; Positions0To1: array of single; AInterpolation: TBGRAColorInterpolation; ARepetition: TBGRAGradientRepetition = grPad): TBGRACustomMultiGradient; |
|
class function CreateAny(Colors: array of TBGRAPixel; Positions0To1: array of single; AInterpolation: TBGRAColorInterpolation; ARepetition: TBGRAGradientRepetition = grPad): TBGRACustomMultiGradient; |
|
function GetMonochrome: boolean; override; |
|
function HalfCosineInterpolation(t: single): single; |
|
procedure Init(Colors: array of TExpandedPixel; Positions0To1: array of single); |
|
procedure Init(Colors: array of TBGRAPixel; Positions0To1: array of single); |
Properties
property ColorCount: integer read GetColorCount; |
|
property InterpolationFunction: TGradientInterpolationFunction read FInterpolationFunction write FInterpolationFunction; |
|
property Repetition: TBGRAGradientRepetition read FRepetition write FRepetition; |
Description
Fields
FColors: array of TBGRAPixel; |
|
This item has no description. |
FEColors: array of TExpandedPixel; |
|
This item has no description. |
FInterpolationFunction: TGradientInterpolationFunction; |
|
This item has no description. |
FPositions: array of integer; |
|
This item has no description. |
FPositionsF: array of single; |
|
This item has no description. |
FRepetition: TBGRAGradientRepetition; |
|
This item has no description. |
Methods
function CosineInterpolation(t: single): single; |
|
This item has no description. |
class function CreateAny(Colors: array of TEXpandedPixel; Positions0To1: array of single; AInterpolation: TBGRAColorInterpolation; ARepetition: TBGRAGradientRepetition = grPad): TBGRACustomMultiGradient; |
|
This item has no description. |
class function CreateAny(Colors: array of TBGRAPixel; Positions0To1: array of single; AInterpolation: TBGRAColorInterpolation; ARepetition: TBGRAGradientRepetition = grPad): TBGRACustomMultiGradient; |
|
This item has no description. |
function GetMonochrome: boolean; override; |
|
This item has no description. Showing description inherited from TBGRACustomGradient.GetMonochrome. Returns whether the gradient has only one color |
function HalfCosineInterpolation(t: single): single; |
|
This item has no description. |
procedure Init(Colors: array of TExpandedPixel; Positions0To1: array of single); |
|
This item has no description. |
procedure Init(Colors: array of TBGRAPixel; Positions0To1: array of single); |
|
This item has no description. |
Properties
property ColorCount: integer read GetColorCount; |
|
This item has no description. |
property InterpolationFunction: TGradientInterpolationFunction read FInterpolationFunction write FInterpolationFunction; |
|
This item has no description. |
property Repetition: TBGRAGradientRepetition read FRepetition write FRepetition; |
|
This item has no description. |