Class TBGRALayerGradientOriginal
Unit
Declaration
type TBGRALayerGradientOriginal = class(TBGRALayerCustomOriginal)
Description
Original for rendering a gradient
Hierarchy
- TObject
- TBGRALayerCustomOriginal
- TBGRALayerGradientOriginal
Overview
Fields
![]() |
FColorInterpolation: TBGRAColorInterpolation; |
![]() |
FColorPositions: array of single; |
![]() |
FColors: array of TBGRAPixel; |
![]() |
FFocalPoint: TPointF; |
![]() |
FFocalRadius: single; |
![]() |
FGradientType: TGradientType; |
![]() |
FOrigin: TPointF; |
![]() |
FOriginBackup: TPointF; |
![]() |
FRadius: single; |
![]() |
FRepetition: TBGRAGradientRepetition; |
![]() |
FUpdateCount: integer; |
![]() |
FUpdateDiff: TBGRAGradientOriginalDiff; |
![]() |
FXAxis: TPointF; |
![]() |
FXAxisBackup: TPointF; |
![]() |
FYAxis: TPointF; |
![]() |
FYAxisBackup: TPointF; |
Methods
![]() |
constructor Create; override; |
![]() |
destructor Destroy; override; |
![]() |
function AddToSVGDefs(const AMatrix: TAffineMatrix; ADefs: TSVGDefine): TObject; |
![]() |
class function CanConvertToSVG: boolean; override; |
![]() |
function ConvertToSVG(const AMatrix: TAffineMatrix; out AOffset: TPoint): TObject; override; |
![]() |
function CreateScanner(AMatrix: TAffineMatrix; ADraft: boolean = false): TBGRACustomScanner; |
![]() |
function Equals(Obj: TObject): boolean; override; |
![]() |
function GetRenderBounds(ADestRect: TRect; AMatrix: TAffineMatrix): TRect; override; |
![]() |
function IsInfiniteSurface: boolean; override; |
![]() |
class function StorageClassName: RawByteString; override; |
![]() |
function GetAverageColor: TBGRAPixel; |
![]() |
function GetComputedFocalPoint: TPointF; |
![]() |
function GetComputedFocalRadius: single; |
![]() |
function GetComputedRadius: single; |
![]() |
function GetComputedYAxis: TPointF; |
![]() |
procedure AddColor(AColor: TBGRAPixel; APreviousColorPosition: single = EmptySingle); |
![]() |
procedure ApplyOpacity(AOpacity: byte); |
![]() |
procedure AssignExceptGeometry(AOther: TBGRALayerGradientOriginal); |
![]() |
procedure ConfigureEditor(AEditor: TBGRAOriginalEditor); override; |
![]() |
procedure FitGeometry(const ABox: TAffineBox); |
![]() |
procedure LoadFromStorage(AStorage: TBGRACustomOriginalStorage); override; |
![]() |
procedure Render(ADest: TBGRABitmap; AMatrix: TAffineMatrix; ADraft: boolean; ADrawMode: TDrawMode); overload; |
![]() |
procedure Render(ADest: TBGRABitmap; AMatrix: TAffineMatrix; ADraft: boolean); overload; override; |
![]() |
procedure SaveToStorage(AStorage: TBGRACustomOriginalStorage); override; |
![]() |
procedure SetColors(AStartColor, AEndColor: TBGRAPixel); |
![]() |
procedure SetColors(const AColors: array of TBGRAPixel; const APositions: Array of single); |
![]() |
procedure SetColors(const AColors: array of TBGRAPixel; ASpreadColorsEqually: boolean = true); |
![]() |
procedure Transform(AMatrix: TAffineMatrix); |
![]() |
procedure BeginUpdate; |
![]() |
procedure EndUpdate; |
![]() |
procedure NotifyChangeWithoutDiff; |
![]() |
procedure OnMoveFocalPoint(ASender: TObject; APrevCoord, ANewCoord: TPointF; AShift: TShiftState); |
![]() |
procedure OnMoveFocalRadius(ASender: TObject; APrevCoord, ANewCoord: TPointF; AShift: TShiftState); |
![]() |
procedure OnMoveOrigin(ASender: TObject; APrevCoord, ANewCoord: TPointF; AShift: TShiftState); |
![]() |
procedure OnMoveXAxis(ASender: TObject; APrevCoord, ANewCoord: TPointF; AShift: TShiftState); |
![]() |
procedure OnMoveXAxisNeg(ASender: TObject; APrevCoord, ANewCoord: TPointF; AShift: TShiftState); |
![]() |
procedure OnMoveYAxis(ASender: TObject; APrevCoord, ANewCoord: TPointF; AShift: TShiftState); |
![]() |
procedure OnStartMove(ASender: TObject; AIndex: integer; AShift: TShiftState); |
Properties
![]() |
property AverageColor: TBGRAPixel read GetAverageColor; |
![]() |
property Color[AIndex: integer]: TBGRAPixel read GetColorByIndex write SetColorByIndex; |
![]() |
property ColorCount: integer read GetColorCount write SetColorCount; |
![]() |
property ColorInterpolation: TBGRAColorInterpolation read FColorInterpolation write SetColorInterpolation; |
![]() |
property ColorPosition[AIndex: integer]: single read GetColorPositionByIndex write SetColorPositionByIndex; |
![]() |
property ComputedFocalPoint: TPointF read GetComputedFocalPoint; |
![]() |
property ComputedFocalRadius: single read GetComputedFocalRadius; |
![]() |
property ComputedRadius: single read GetComputedRadius; |
![]() |
property ComputedYAxis: TPointF read GetComputedYAxis; |
![]() |
property EndColor: TBGRAPixel read GetEndColor write SetEndColor; |
![]() |
property FocalPoint: TPointF read FFocalPoint write SetFocalPoint; |
![]() |
property FocalRadius: Single read FFocalRadius write SetFocalRadius; |
![]() |
property GradientType: TGradientType read FGradientType write SetGradientType; |
![]() |
property IsOpaque: boolean read GetIsOpaque; |
![]() |
property Origin: TPointF read FOrigin write SetOrigin; |
![]() |
property Radius: Single read FRadius write SetRadius; |
![]() |
property Repetition: TBGRAGradientRepetition read FRepetition write SetRepetition; |
![]() |
property StartColor: TBGRAPixel read GetStartColor write SetStartColor; |
![]() |
property XAxis: TPointF read FXAxis write SetXAxis; |
![]() |
property YAxis: TPointF read FYAxis write SetYAxis; |
Description
Fields
![]() |
FColorInterpolation: TBGRAColorInterpolation; |
This item has no description. |
![]() |
FColorPositions: array of single; |
This item has no description. |
![]() |
FColors: array of TBGRAPixel; |
This item has no description. |
![]() |
FFocalPoint: TPointF; |
This item has no description. |
![]() |
FFocalRadius: single; |
This item has no description. |
![]() |
FGradientType: TGradientType; |
This item has no description. |
![]() |
FOrigin: TPointF; |
This item has no description. |
![]() |
FOriginBackup: TPointF; |
This item has no description. |
![]() |
FRadius: single; |
This item has no description. |
![]() |
FRepetition: TBGRAGradientRepetition; |
This item has no description. |
![]() |
FUpdateCount: integer; |
This item has no description. |
![]() |
FUpdateDiff: TBGRAGradientOriginalDiff; |
This item has no description. |
![]() |
FXAxis: TPointF; |
This item has no description. |
![]() |
FXAxisBackup: TPointF; |
This item has no description. |
![]() |
FYAxis: TPointF; |
This item has no description. |
![]() |
FYAxisBackup: TPointF; |
This item has no description. |
Methods
![]() |
constructor Create; override; |
This item has no description. |
![]() |
destructor Destroy; override; |
This item has no description. |
![]() |
function AddToSVGDefs(const AMatrix: TAffineMatrix; ADefs: TSVGDefine): TObject; |
This item has no description. |
![]() |
class function CanConvertToSVG: boolean; override; |
This item has no description. |
![]() |
function ConvertToSVG(const AMatrix: TAffineMatrix; out AOffset: TPoint): TObject; override; |
This item has no description. |
![]() |
function CreateScanner(AMatrix: TAffineMatrix; ADraft: boolean = false): TBGRACustomScanner; |
This item has no description. |
![]() |
function Equals(Obj: TObject): boolean; override; |
This item has no description. |
![]() |
function GetRenderBounds(ADestRect: TRect; AMatrix: TAffineMatrix): TRect; override; |
This item has no description. |
![]() |
function IsInfiniteSurface: boolean; override; |
This item has no description. |
![]() |
class function StorageClassName: RawByteString; override; |
This item has no description. |
![]() |
function GetAverageColor: TBGRAPixel; |
This item has no description. |
![]() |
function GetComputedFocalPoint: TPointF; |
This item has no description. |
![]() |
function GetComputedFocalRadius: single; |
This item has no description. |
![]() |
function GetComputedRadius: single; |
This item has no description. |
![]() |
function GetComputedYAxis: TPointF; |
This item has no description. |
![]() |
procedure AddColor(AColor: TBGRAPixel; APreviousColorPosition: single = EmptySingle); |
This item has no description. |
![]() |
procedure ApplyOpacity(AOpacity: byte); |
This item has no description. |
![]() |
procedure AssignExceptGeometry(AOther: TBGRALayerGradientOriginal); |
This item has no description. |
![]() |
procedure ConfigureEditor(AEditor: TBGRAOriginalEditor); override; |
This item has no description. |
![]() |
procedure FitGeometry(const ABox: TAffineBox); |
This item has no description. |
![]() |
procedure LoadFromStorage(AStorage: TBGRACustomOriginalStorage); override; |
This item has no description. |
![]() |
procedure Render(ADest: TBGRABitmap; AMatrix: TAffineMatrix; ADraft: boolean; ADrawMode: TDrawMode); overload; |
This item has no description. |
![]() |
procedure Render(ADest: TBGRABitmap; AMatrix: TAffineMatrix; ADraft: boolean); overload; override; |
This item has no description. Showing description inherited from TBGRALayerCustomOriginal.Render. one of the two Render functions must be overriden |
![]() |
procedure SaveToStorage(AStorage: TBGRACustomOriginalStorage); override; |
This item has no description. |
![]() |
procedure SetColors(AStartColor, AEndColor: TBGRAPixel); |
This item has no description. |
![]() |
procedure SetColors(const AColors: array of TBGRAPixel; const APositions: Array of single); |
This item has no description. |
![]() |
procedure SetColors(const AColors: array of TBGRAPixel; ASpreadColorsEqually: boolean = true); |
This item has no description. |
![]() |
procedure Transform(AMatrix: TAffineMatrix); |
This item has no description. |
![]() |
procedure BeginUpdate; |
This item has no description. |
![]() |
procedure EndUpdate; |
This item has no description. |
![]() |
procedure NotifyChangeWithoutDiff; |
This item has no description. |
![]() |
procedure OnMoveFocalPoint(ASender: TObject; APrevCoord, ANewCoord: TPointF; AShift: TShiftState); |
This item has no description. |
![]() |
procedure OnMoveFocalRadius(ASender: TObject; APrevCoord, ANewCoord: TPointF; AShift: TShiftState); |
This item has no description. |
![]() |
procedure OnMoveOrigin(ASender: TObject; APrevCoord, ANewCoord: TPointF; AShift: TShiftState); |
This item has no description. |
![]() |
procedure OnMoveXAxis(ASender: TObject; APrevCoord, ANewCoord: TPointF; AShift: TShiftState); |
This item has no description. |
![]() |
procedure OnMoveXAxisNeg(ASender: TObject; APrevCoord, ANewCoord: TPointF; AShift: TShiftState); |
This item has no description. |
![]() |
procedure OnMoveYAxis(ASender: TObject; APrevCoord, ANewCoord: TPointF; AShift: TShiftState); |
This item has no description. |
![]() |
procedure OnStartMove(ASender: TObject; AIndex: integer; AShift: TShiftState); |
This item has no description. |
Properties
![]() |
property AverageColor: TBGRAPixel read GetAverageColor; |
This item has no description. |
![]() |
property Color[AIndex: integer]: TBGRAPixel read GetColorByIndex write SetColorByIndex; |
This item has no description. |
![]() |
property ColorCount: integer read GetColorCount write SetColorCount; |
This item has no description. |
![]() |
property ColorInterpolation: TBGRAColorInterpolation read FColorInterpolation write SetColorInterpolation; |
default 0 |
![]() |
property ColorPosition[AIndex: integer]: single read GetColorPositionByIndex write SetColorPositionByIndex; |
This item has no description. |
![]() |
property ComputedFocalPoint: TPointF read GetComputedFocalPoint; |
This item has no description. |
![]() |
property ComputedFocalRadius: single read GetComputedFocalRadius; |
This item has no description. |
![]() |
property ComputedRadius: single read GetComputedRadius; |
This item has no description. |
![]() |
property ComputedYAxis: TPointF read GetComputedYAxis; |
This item has no description. |
![]() |
property EndColor: TBGRAPixel read GetEndColor write SetEndColor; |
This item has no description. |
![]() |
property FocalPoint: TPointF read FFocalPoint write SetFocalPoint; |
This item has no description. |
![]() |
property FocalRadius: Single read FFocalRadius write SetFocalRadius; |
default 1 |
![]() |
property GradientType: TGradientType read FGradientType write SetGradientType; |
This item has no description. |
![]() |
property IsOpaque: boolean read GetIsOpaque; |
This item has no description. |
![]() |
property Origin: TPointF read FOrigin write SetOrigin; |
default gtLinear |
![]() |
property Radius: Single read FRadius write SetRadius; |
default Origin |
![]() |
property Repetition: TBGRAGradientRepetition read FRepetition write SetRepetition; |
This item has no description. |
![]() |
property StartColor: TBGRAPixel read GetStartColor write SetStartColor; |
This item has no description. |
![]() |
property XAxis: TPointF read FXAxis write SetXAxis; |
This item has no description. |
![]() |
property YAxis: TPointF read FYAxis write SetYAxis; |
This item has no description. |