Class TSVGElementWithGradient
Unit
Declaration
type TSVGElementWithGradient = class(TSVGElement)
Description
Any SVG element that is filled with a gradient
Hierarchy
- TObject
- TSVGCustomElement
- TSVGElement
- TSVGElementWithGradient
Overview
Methods
destructor Destroy; override; |
|
function CreateCanvasLinearGradient(ACanvas2d: TBGRACanvas2D; ASVGGradient: TSVGGradient; const origin: TPointF; const w,h: single; AUnit: TCSSUnit): IBGRACanvasGradient2D; |
|
function CreateCanvasRadialGradient(ACanvas2d: TBGRACanvas2D; ASVGGradient: TSVGGradient; const origin: TPointF; const w,h: single; AUnit: TCSSUnit): IBGRACanvasGradient2D; |
|
procedure InitializeGradient(ACanvas2d: TBGRACanvas2D; const origin: TPointF; const w,h: single; AUnit: TCSSUnit); |
|
procedure AddStopElements(ASVGGradient: TSVGGradient; canvas: IBGRACanvasGradient2D); |
|
procedure ApplyFillStyle(ACanvas2D: TBGRACanvas2D; AUnit: TCSSUnit); override; |
|
procedure ApplyStrokeStyle(ACanvas2D: TBGRACanvas2D; AUnit: TCSSUnit); override; |
|
procedure Initialize; override; |
|
procedure SetDatalink(AValue: TSVGDataLink); override; |
|
procedure SetFill(AValue: string); override; |
|
procedure SetStroke(AValue: string); override; |
Properties
property FillGradientElement: TSVGGradient read GetFillGradientElement; |
|
property StrokeGradientElement: TSVGGradient read GetStrokeGradientElement; |
Description
Methods
destructor Destroy; override; |
|
This item has no description. |
function CreateCanvasLinearGradient(ACanvas2d: TBGRACanvas2D; ASVGGradient: TSVGGradient; const origin: TPointF; const w,h: single; AUnit: TCSSUnit): IBGRACanvasGradient2D; |
|
This item has no description. |
function CreateCanvasRadialGradient(ACanvas2d: TBGRACanvas2D; ASVGGradient: TSVGGradient; const origin: TPointF; const w,h: single; AUnit: TCSSUnit): IBGRACanvasGradient2D; |
|
This item has no description. |
procedure InitializeGradient(ACanvas2d: TBGRACanvas2D; const origin: TPointF; const w,h: single; AUnit: TCSSUnit); |
|
This item has no description. |
procedure AddStopElements(ASVGGradient: TSVGGradient; canvas: IBGRACanvasGradient2D); |
|
This item has no description. |
procedure ApplyFillStyle(ACanvas2D: TBGRACanvas2D; AUnit: TCSSUnit); override; |
|
This item has no description. |
procedure ApplyStrokeStyle(ACanvas2D: TBGRACanvas2D; AUnit: TCSSUnit); override; |
|
This item has no description. |
procedure Initialize; override; |
|
This item has no description. |
procedure SetDatalink(AValue: TSVGDataLink); override; |
|
This item has no description. |
procedure SetFill(AValue: string); override; |
|
This item has no description. |
procedure SetStroke(AValue: string); override; |
|
This item has no description. |
Properties
property FillGradientElement: TSVGGradient read GetFillGradientElement; |
|
This item has no description. |
property StrokeGradientElement: TSVGGradient read GetStrokeGradientElement; |
|
This item has no description. |