Class TSVGElementWithGradient

Unit

Declaration

type TSVGElementWithGradient = class(TSVGElement)

Description

Any SVG element that is filled with a gradient

Hierarchy

Overview

Methods

Public destructor Destroy; override;
Protected function CreateCanvasLinearGradient(ACanvas2d: TBGRACanvas2D; ASVGGradient: TSVGGradient; const origin: TPointF; const w,h: single; AUnit: TCSSUnit): IBGRACanvasGradient2D;
Protected function CreateCanvasRadialGradient(ACanvas2d: TBGRACanvas2D; ASVGGradient: TSVGGradient; const origin: TPointF; const w,h: single; AUnit: TCSSUnit): IBGRACanvasGradient2D;
Public procedure InitializeGradient(ACanvas2d: TBGRACanvas2D; const origin: TPointF; const w,h: single; AUnit: TCSSUnit);
Protected procedure AddStopElements(ASVGGradient: TSVGGradient; canvas: IBGRACanvasGradient2D);
Protected procedure ApplyFillStyle(ACanvas2D: TBGRACanvas2D; AUnit: TCSSUnit); override;
Protected procedure ApplyStrokeStyle(ACanvas2D: TBGRACanvas2D; AUnit: TCSSUnit); override;
Protected procedure Initialize; override;
Protected procedure SetDatalink(AValue: TSVGDataLink); override;
Protected procedure SetFill(AValue: string); override;
Protected procedure SetStroke(AValue: string); override;

Properties

Public property FillGradientElement: TSVGGradient read GetFillGradientElement;
Public property StrokeGradientElement: TSVGGradient read GetStrokeGradientElement;

Description

Methods

Public destructor Destroy; override;

This item has no description.

Protected function CreateCanvasLinearGradient(ACanvas2d: TBGRACanvas2D; ASVGGradient: TSVGGradient; const origin: TPointF; const w,h: single; AUnit: TCSSUnit): IBGRACanvasGradient2D;

This item has no description.

Protected function CreateCanvasRadialGradient(ACanvas2d: TBGRACanvas2D; ASVGGradient: TSVGGradient; const origin: TPointF; const w,h: single; AUnit: TCSSUnit): IBGRACanvasGradient2D;

This item has no description.

Public procedure InitializeGradient(ACanvas2d: TBGRACanvas2D; const origin: TPointF; const w,h: single; AUnit: TCSSUnit);

This item has no description.

Protected procedure AddStopElements(ASVGGradient: TSVGGradient; canvas: IBGRACanvasGradient2D);

This item has no description.

Protected procedure ApplyFillStyle(ACanvas2D: TBGRACanvas2D; AUnit: TCSSUnit); override;

This item has no description.

Protected procedure ApplyStrokeStyle(ACanvas2D: TBGRACanvas2D; AUnit: TCSSUnit); override;

This item has no description.

Protected procedure Initialize; override;

This item has no description.

Protected procedure SetDatalink(AValue: TSVGDataLink); override;

This item has no description.

Protected procedure SetFill(AValue: string); override;

This item has no description.

Protected procedure SetStroke(AValue: string); override;

This item has no description.

Properties

Public property FillGradientElement: TSVGGradient read GetFillGradientElement;

This item has no description.

Public property StrokeGradientElement: TSVGGradient read GetStrokeGradientElement;

This item has no description.