Class TSVGImage

Unit

Declaration

type TSVGImage = class(TSVGElement)

Description

SVG image object

Hierarchy

Overview

Fields

Protected FBitmap: TBGRACustomBitmap;

Methods

Public constructor Create(AElement: TDOMElement; AUnits: TCSSUnitConverter; ADataLink: TSVGDataLink); overload; override;
Public constructor Create(ADocument: TDOMDocument; AUnits: TCSSUnitConverter; ADataLink: TSVGDataLink); overload; override;
Public destructor Destroy; override;
Public class function GetDOMTag: string; override;
Public procedure ConvertToUnit(AUnit: TCSSUnit); override;
Public procedure SetBitmap(AStream: TStream; AMimeType: string); overload;
Public procedure SetBitmap(AValue: TBGRACustomBitmap; AOwned: boolean); overload;
Protected procedure InternalDraw(ACanvas2d: TBGRACanvas2D; AUnit: TCSSUnit); override;

Properties

Public property Bitmap: TBGRACustomBitmap read GetBitmap;
Public property externalResourcesRequired: boolean read GetExternalResourcesRequired write SetExternalResourcesRequired;
Public property height: TFloatWithCSSUnit read GetHeight write SetHeight;
Public property imageRendering: TSVGImageRendering read GetImageRendering write SetImageRendering;
Public property preserveAspectRatio: TSVGPreserveAspectRatio read GetPreserveAspectRatio write SetPreserveAspectRatio;
Public property width: TFloatWithCSSUnit read GetWidth write SetWidth;
Public property x: TFloatWithCSSUnit read GetX write SetX;
Public property xlinkHref: string read GetXlinkHref write SetXlinkHref;
Public property y: TFloatWithCSSUnit read GetY write SetY;

Description

Fields

Protected FBitmap: TBGRACustomBitmap;

This item has no description.

Methods

Public constructor Create(AElement: TDOMElement; AUnits: TCSSUnitConverter; ADataLink: TSVGDataLink); overload; override;

This item has no description.

Public constructor Create(ADocument: TDOMDocument; AUnits: TCSSUnitConverter; ADataLink: TSVGDataLink); overload; override;

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public class function GetDOMTag: string; override;

This item has no description.

Public procedure ConvertToUnit(AUnit: TCSSUnit); override;

This item has no description.

Public procedure SetBitmap(AStream: TStream; AMimeType: string); overload;

This item has no description.

Public procedure SetBitmap(AValue: TBGRACustomBitmap; AOwned: boolean); overload;

This item has no description.

Protected procedure InternalDraw(ACanvas2d: TBGRACanvas2D; AUnit: TCSSUnit); override;

This item has no description.

Properties

Public property Bitmap: TBGRACustomBitmap read GetBitmap;

This item has no description.

Public property externalResourcesRequired: boolean read GetExternalResourcesRequired write SetExternalResourcesRequired;

This item has no description.

Public property height: TFloatWithCSSUnit read GetHeight write SetHeight;

This item has no description.

Public property imageRendering: TSVGImageRendering read GetImageRendering write SetImageRendering;

This item has no description.

Public property preserveAspectRatio: TSVGPreserveAspectRatio read GetPreserveAspectRatio write SetPreserveAspectRatio;

This item has no description.

Public property width: TFloatWithCSSUnit read GetWidth write SetWidth;

This item has no description.

Public property x: TFloatWithCSSUnit read GetX write SetX;

This item has no description.

Public property xlinkHref: string read GetXlinkHref write SetXlinkHref;

This item has no description.

Public property y: TFloatWithCSSUnit read GetY write SetY;

This item has no description.