Class TBGRABufferedGradient
Unit
Declaration
type TBGRABufferedGradient = class(TBGRACustomGradient)
Description
Buffered gradient to accelerate computation of complex gradients
Hierarchy
- TObject
- TBGRACustomGradient
- TBGRABufferedGradient
Overview
Fields
![]() |
FAverageColorComputed: boolean; |
![]() |
FAverageColorExpanded: TExpandedPixel; |
![]() |
FBufferShift: integer; |
![]() |
FBufferSize: integer; |
![]() |
FColorComputed: bitpacked array[0..65535] of boolean; |
![]() |
FColorTab: array of TBGRAPixel; |
![]() |
FGradient: TBGRACustomGradient; |
![]() |
FGradientOwned: boolean; |
![]() |
FMonochrome: boolean; |
![]() |
FMonochromeComputed: boolean; |
![]() |
FPadded: boolean; |
![]() |
FRepetition: TBGRAGradientRepetition; |
Methods
![]() |
constructor Create(AGradient: TBGRACustomGradient; AOwner: boolean; APadded: boolean; ABufferSize: integer); |
![]() |
destructor Destroy; override; |
![]() |
function GetAverageColor: TBGRAPixel; override; |
![]() |
function GetAverageExpandedColor: TExpandedPixel; override; |
![]() |
function GetColorAt(position: integer): TBGRAPixel; override; |
![]() |
function GetMonochrome: boolean; override; |
Description
Fields
![]() |
FAverageColorComputed: boolean; |
This item has no description. |
![]() |
FAverageColorExpanded: TExpandedPixel; |
This item has no description. |
![]() |
FBufferShift: integer; |
This item has no description. |
![]() |
FBufferSize: integer; |
This item has no description. |
![]() |
FColorComputed: bitpacked array[0..65535] of boolean; |
This item has no description. |
![]() |
FColorTab: array of TBGRAPixel; |
This item has no description. |
![]() |
FGradient: TBGRACustomGradient; |
This item has no description. |
![]() |
FGradientOwned: boolean; |
This item has no description. |
![]() |
FMonochrome: boolean; |
This item has no description. |
![]() |
FMonochromeComputed: boolean; |
This item has no description. |
![]() |
FPadded: boolean; |
This item has no description. |
![]() |
FRepetition: TBGRAGradientRepetition; |
This item has no description. |
Methods
![]() |
constructor Create(AGradient: TBGRACustomGradient; AOwner: boolean; APadded: boolean; ABufferSize: integer); |
This item has no description. |
![]() |
destructor Destroy; override; |
This item has no description. |
![]() |
function GetAverageColor: TBGRAPixel; override; |
Returns the average color of the gradient |
![]() |
function GetAverageExpandedColor: TExpandedPixel; override; |
This item has no description. Showing description inherited from TBGRACustomGradient.GetAverageExpandedColor. Returns the average expanded color of the gradient |
![]() |
function GetColorAt(position: integer): TBGRAPixel; override; |
Returns the color at a given ''position''. The reference range is from 0 to 65535, however values beyond are possible as well |
![]() |
function GetMonochrome: boolean; override; |
This item has no description. Showing description inherited from TBGRACustomGradient.GetMonochrome. Returns whether the gradient has only one color |