Class TSVGCustomElement
Unit
Declaration
type TSVGCustomElement = class(TObject)
Description
Abstract SVG element
Hierarchy
- TObject
- TSVGCustomElement
Overview
Fields
FDomElem: TDOMElement; |
|
FUnits: TCSSUnitConverter; |
Methods
function EnterFontSize(AIsRoot: boolean = false): TFloatWithCSSUnit; virtual; |
|
function HasAttribute(AName: string): boolean; |
|
function HasInlineStyle(AName: string): boolean; |
|
function MatrixToTransform(m: TAffineMatrix; AFromUnit: TCSSUnit): string; |
|
function NeedNamespace(APrefix: string): boolean; |
|
function TransformToMatrix(ATransform: string; AToUnit: TCSSUnit): TAffineMatrix; |
|
function GetArrayOfAttributeNumber(AName: string; ACanInherit: boolean): ArrayOfTSVGNumber; |
|
function GetArrayOfAttributeNumber(AName: string): ArrayOfTSVGNumber; |
|
function GetArrayOfAttributeOrStyleWithUnit(AName: string): ArrayOfTFloatWithCSSUnit; |
|
function GetArrayOfAttributeWithUnit(AName: string; ACanInherit: boolean): ArrayOfTFloatWithCSSUnit; |
|
function GetArrayOfAttributeWithUnit(AName: string): ArrayOfTFloatWithCSSUnit; |
|
function GetArrayOfHorizAttributeOrStyleWithUnit(AName: string): ArrayOfTFloatWithCSSUnit; |
|
function GetArrayOfHorizAttributeWithUnit(AName: string): ArrayOfTFloatWithCSSUnit; |
|
function GetArrayOfHorizAttributeWithUnit(AName: string; ACanInherit: boolean): ArrayOfTFloatWithCSSUnit; |
|
function GetArrayOfOrthoAttributeOrStyleWithUnit(AName: string): ArrayOfTFloatWithCSSUnit; |
|
function GetArrayOfOrthoAttributeWithUnit(AName: string): ArrayOfTFloatWithCSSUnit; |
|
function GetArrayOfOrthoAttributeWithUnit(AName: string; ACanInherit: boolean): ArrayOfTFloatWithCSSUnit; |
|
function GetArrayOfVerticalAttributeOrStyleWithUnit(AName: string): ArrayOfTFloatWithCSSUnit; |
|
function GetArrayOfVerticalAttributeWithUnit(AName: string): ArrayOfTFloatWithCSSUnit; |
|
function GetArrayOfVerticalAttributeWithUnit(AName: string; ACanInherit: boolean): ArrayOfTFloatWithCSSUnit; |
|
function GetAttribute(AName: string; ADefault: string; ACanInherit: boolean): string; overload; |
|
function GetAttribute(AName: string): string; overload; |
|
function GetAttribute(AName: string; ADefault: string): string; overload; |
|
function GetAttributeFromElement(ANode: TDOMElement; AName: string; ACanInherit: boolean): string; |
|
function GetAttributeNumber(AName: string; ADefault: TSVGNumber): TSVGNumber; overload; |
|
function GetAttributeOrStyle(AName,ADefault: string; ACanInherit: boolean): string; overload; |
|
function GetAttributeOrStyle(AName: string): string; overload; |
|
function GetAttributeOrStyle(AName,ADefault: string): string; overload; |
|
function GetAttributeOrStyleWithUnit(AName: string): TFloatWithCSSUnit; overload; |
|
function GetAttributeOrStyleWithUnit(AName: string; ADefault: TFloatWithCSSUnit): TFloatWithCSSUnit; overload; |
|
function GetAttributeOrStyleWithUnit(AName: string; ADefault: TFloatWithCSSUnit; ACanInherit: boolean): TFloatWithCSSUnit; overload; |
|
function GetAttributeWithUnit(AName: string): TFloatWithCSSUnit; overload; |
|
function GetAttributeWithUnit(AName: string; ADefault: TFloatWithCSSUnit): TFloatWithCSSUnit; overload; |
|
function GetDOMElement: TDOMElement; virtual; |
|
function GetHorizAttribute(AName: string): TSVGNumber; |
|
function GetHorizAttribute(AName: string; ADefault: TSVGNumber): TSVGNumber; |
|
function GetHorizAttributeOrStyleWithUnit(AName: string; ADefault: TFloatWithCSSUnit): TFloatWithCSSUnit; |
|
function GetHorizAttributeWithUnit(AName: string; ADefault: TFloatWithCSSUnit): TFloatWithCSSUnit; |
|
function GetHorizAttributeWithUnit(AName: string): TFloatWithCSSUnit; |
|
function GetInlineStyle(const AName,ADefault: string): string; |
|
function GetInlineStyleWithUnit(const AName: string; ADefault: TFloatWithCSSUnit): TFloatWithCSSUnit; overload; |
|
function GetInlineStyleWithUnit(const AName: string): TFloatWithCSSUnit; overload; |
|
function GetNamespaceCount: integer; |
|
function GetNamespacePrefix(AIndex: integer): string; |
|
function GetNamespaceURI(APrefix: string): string; |
|
function GetOrthoAttributeOrStyleWithUnit(AName: string; ADefault: TFloatWithCSSUnit): TFloatWithCSSUnit; |
|
function GetOrthoAttributeWithUnit(AName: string; ADefault: TFloatWithCSSUnit): TFloatWithCSSUnit; |
|
function GetOrthoAttributeWithUnit(AName: string): TFloatWithCSSUnit; |
|
class function GetPropertyFromStyleDeclarationBlock(ABlock: string; AProperty: string; ADefault: string): string; |
|
function GetStyle(const AName,ADefault: string): string; overload; |
|
function GetStyle(const AName: string): string; overload; |
|
function GetStyleFromStyleSheet(const AName,ADefault: string): string; virtual; |
|
function GetVerticalAttribute(AName: string; ADefault: TSVGNumber): TSVGNumber; |
|
function GetVerticalAttribute(AName: string): TSVGNumber; |
|
function GetVerticalAttributeOrStyleWithUnit(AName: string; ADefault: TFloatWithCSSUnit; ACanInherit: boolean): TFloatWithCSSUnit; overload; |
|
function GetVerticalAttributeOrStyleWithUnit(AName: string; ADefault: TFloatWithCSSUnit): TFloatWithCSSUnit; overload; |
|
function GetVerticalAttributeWithUnit(AName: string): TFloatWithCSSUnit; |
|
function GetVerticalAttributeWithUnit(AName: string; ADefault: TFloatWithCSSUnit): TFloatWithCSSUnit; |
|
class function RemovePropertyFromDeclarationBlock(var ABlock: string; AProperty: string): boolean; |
|
procedure ConvertToUnit(AUnit: TCSSUnit); virtual; |
|
procedure ExitFontSize(APrevFontSize: TFloatWithCSSUnit); virtual; |
|
procedure IterateElements(ACallback: TIterateElementCallback; AData: pointer; ARecursive: boolean); virtual; |
|
procedure RemoveNamespace(APrefix: string); |
|
procedure RemoveStyle(const AName: string); |
|
class procedure LocateStyleDeclaration(AText: string; AProperty: string; out AStartPos, AColonPos, AValueLength: integer); |
|
procedure SetArrayOfAttributeNumber(AName: string; AValue: ArrayOfTSVGNumber); |
|
procedure SetArrayOfAttributeWithUnit(AName: string; const AValue: ArrayOfTFloatWithCSSUnit); |
|
procedure SetArrayOfHorizAttributeWithUnit(AName: string; AValue: ArrayOfTFloatWithCSSUnit); |
|
procedure SetArrayOfOrthoAttributeWithUnit(AName: string; AValue: ArrayOfTFloatWithCSSUnit); |
|
procedure SetArrayOfVerticalAttributeWithUnit(AName: string; AValue: ArrayOfTFloatWithCSSUnit); |
|
procedure SetAttribute(AName: string; AValue: TSVGNumber); virtual; overload; |
|
procedure SetAttribute(AName: string; AValue: string); virtual; overload; |
|
procedure SetAttributeWithUnit(AName: string; AValue: TFloatWithCSSUnit); |
|
procedure SetHorizAttribute(AName: string; AValue: TSVGNumber); |
|
procedure SetHorizAttributeWithUnit(AName: string; AValue: TFloatWithCSSUnit); |
|
procedure SetInlineStyle(AName: string; AValue: TFloatWithCSSUnit); overload; |
|
procedure SetInlineStyle(AName: string; AValue: string); overload; |
|
procedure SetNamespaceURI(APrefix: string; AValue: string); |
|
procedure SetOrthoAttributeWithUnit(AName: string; AValue: TFloatWithCSSUnit); |
|
procedure SetVerticalAttribute(AName: string; AValue: TSVGNumber); |
|
procedure SetVerticalAttributeWithUnit(AName: string; AValue: TFloatWithCSSUnit); |
|
class procedure UpdateStyleDeclarationBlock(var ABlock: string; AProperty: string; AValue: string); |
Properties
property NamespaceCount: integer read GetNamespaceCount; |
|
property NamespacePrefix[AIndex: integer]: string read GetNamespacePrefix; |
|
property NamespaceURI[APrefix: string]: string read GetNamespaceURI write SetNamespaceURI; |
|
property Style[AName: string]: string read GetStyle write SetInlineStyle; |
|
property StyleDef[AName,ADefault: string]: string read GetStyle; |
Description
Fields
FDomElem: TDOMElement; |
|
This item has no description. |
FUnits: TCSSUnitConverter; |
|
This item has no description. |
Methods
function EnterFontSize(AIsRoot: boolean = false): TFloatWithCSSUnit; virtual; |
|
This item has no description. |
function HasAttribute(AName: string): boolean; |
|
This item has no description. |
function HasInlineStyle(AName: string): boolean; |
|
This item has no description. |
function MatrixToTransform(m: TAffineMatrix; AFromUnit: TCSSUnit): string; |
|
This item has no description. |
function NeedNamespace(APrefix: string): boolean; |
|
This item has no description. |
function TransformToMatrix(ATransform: string; AToUnit: TCSSUnit): TAffineMatrix; |
|
This item has no description. |
function GetArrayOfAttributeNumber(AName: string; ACanInherit: boolean): ArrayOfTSVGNumber; |
|
This item has no description. |
function GetArrayOfAttributeNumber(AName: string): ArrayOfTSVGNumber; |
|
This item has no description. |
function GetArrayOfAttributeOrStyleWithUnit(AName: string): ArrayOfTFloatWithCSSUnit; |
|
This item has no description. |
function GetArrayOfAttributeWithUnit(AName: string; ACanInherit: boolean): ArrayOfTFloatWithCSSUnit; |
|
This item has no description. |
function GetArrayOfAttributeWithUnit(AName: string): ArrayOfTFloatWithCSSUnit; |
|
This item has no description. |
function GetArrayOfHorizAttributeOrStyleWithUnit(AName: string): ArrayOfTFloatWithCSSUnit; |
|
This item has no description. |
function GetArrayOfHorizAttributeWithUnit(AName: string): ArrayOfTFloatWithCSSUnit; |
|
This item has no description. |
function GetArrayOfHorizAttributeWithUnit(AName: string; ACanInherit: boolean): ArrayOfTFloatWithCSSUnit; |
|
This item has no description. |
function GetArrayOfOrthoAttributeOrStyleWithUnit(AName: string): ArrayOfTFloatWithCSSUnit; |
|
This item has no description. |
function GetArrayOfOrthoAttributeWithUnit(AName: string): ArrayOfTFloatWithCSSUnit; |
|
This item has no description. |
function GetArrayOfOrthoAttributeWithUnit(AName: string; ACanInherit: boolean): ArrayOfTFloatWithCSSUnit; |
|
This item has no description. |
function GetArrayOfVerticalAttributeOrStyleWithUnit(AName: string): ArrayOfTFloatWithCSSUnit; |
|
This item has no description. |
function GetArrayOfVerticalAttributeWithUnit(AName: string): ArrayOfTFloatWithCSSUnit; |
|
This item has no description. |
function GetArrayOfVerticalAttributeWithUnit(AName: string; ACanInherit: boolean): ArrayOfTFloatWithCSSUnit; |
|
This item has no description. |
function GetAttribute(AName: string; ADefault: string; ACanInherit: boolean): string; overload; |
|
This item has no description. |
function GetAttribute(AName: string): string; overload; |
|
This item has no description. |
function GetAttribute(AName: string; ADefault: string): string; overload; |
|
This item has no description. |
function GetAttributeFromElement(ANode: TDOMElement; AName: string; ACanInherit: boolean): string; |
|
This item has no description. |
function GetAttributeNumber(AName: string; ADefault: TSVGNumber): TSVGNumber; overload; |
|
This item has no description. |
function GetAttributeOrStyle(AName,ADefault: string; ACanInherit: boolean): string; overload; |
|
This item has no description. |
function GetAttributeOrStyle(AName: string): string; overload; |
|
This item has no description. |
function GetAttributeOrStyle(AName,ADefault: string): string; overload; |
|
This item has no description. |
function GetAttributeOrStyleWithUnit(AName: string): TFloatWithCSSUnit; overload; |
|
This item has no description. |
function GetAttributeOrStyleWithUnit(AName: string; ADefault: TFloatWithCSSUnit): TFloatWithCSSUnit; overload; |
|
This item has no description. |
function GetAttributeOrStyleWithUnit(AName: string; ADefault: TFloatWithCSSUnit; ACanInherit: boolean): TFloatWithCSSUnit; overload; |
|
This item has no description. |
function GetAttributeWithUnit(AName: string): TFloatWithCSSUnit; overload; |
|
This item has no description. |
function GetAttributeWithUnit(AName: string; ADefault: TFloatWithCSSUnit): TFloatWithCSSUnit; overload; |
|
This item has no description. |
function GetDOMElement: TDOMElement; virtual; |
|
This item has no description. |
function GetHorizAttribute(AName: string): TSVGNumber; |
|
This item has no description. |
function GetHorizAttribute(AName: string; ADefault: TSVGNumber): TSVGNumber; |
|
This item has no description. |
function GetHorizAttributeOrStyleWithUnit(AName: string; ADefault: TFloatWithCSSUnit): TFloatWithCSSUnit; |
|
This item has no description. |
function GetHorizAttributeWithUnit(AName: string; ADefault: TFloatWithCSSUnit): TFloatWithCSSUnit; |
|
This item has no description. |
function GetHorizAttributeWithUnit(AName: string): TFloatWithCSSUnit; |
|
This item has no description. |
function GetInlineStyle(const AName,ADefault: string): string; |
|
This item has no description. |
function GetInlineStyleWithUnit(const AName: string; ADefault: TFloatWithCSSUnit): TFloatWithCSSUnit; overload; |
|
This item has no description. |
function GetInlineStyleWithUnit(const AName: string): TFloatWithCSSUnit; overload; |
|
This item has no description. |
function GetNamespaceCount: integer; |
|
This item has no description. |
function GetNamespacePrefix(AIndex: integer): string; |
|
This item has no description. |
function GetNamespaceURI(APrefix: string): string; |
|
This item has no description. |
function GetOrthoAttributeOrStyleWithUnit(AName: string; ADefault: TFloatWithCSSUnit): TFloatWithCSSUnit; |
|
This item has no description. |
function GetOrthoAttributeWithUnit(AName: string; ADefault: TFloatWithCSSUnit): TFloatWithCSSUnit; |
|
This item has no description. |
function GetOrthoAttributeWithUnit(AName: string): TFloatWithCSSUnit; |
|
This item has no description. |
class function GetPropertyFromStyleDeclarationBlock(ABlock: string; AProperty: string; ADefault: string): string; |
|
This item has no description. |
function GetStyle(const AName,ADefault: string): string; overload; |
|
This item has no description. |
function GetStyle(const AName: string): string; overload; |
|
This item has no description. |
function GetStyleFromStyleSheet(const AName,ADefault: string): string; virtual; |
|
This item has no description. |
function GetVerticalAttribute(AName: string; ADefault: TSVGNumber): TSVGNumber; |
|
This item has no description. |
function GetVerticalAttribute(AName: string): TSVGNumber; |
|
This item has no description. |
function GetVerticalAttributeOrStyleWithUnit(AName: string; ADefault: TFloatWithCSSUnit; ACanInherit: boolean): TFloatWithCSSUnit; overload; |
|
This item has no description. |
function GetVerticalAttributeOrStyleWithUnit(AName: string; ADefault: TFloatWithCSSUnit): TFloatWithCSSUnit; overload; |
|
This item has no description. |
function GetVerticalAttributeWithUnit(AName: string): TFloatWithCSSUnit; |
|
This item has no description. |
function GetVerticalAttributeWithUnit(AName: string; ADefault: TFloatWithCSSUnit): TFloatWithCSSUnit; |
|
This item has no description. |
class function RemovePropertyFromDeclarationBlock(var ABlock: string; AProperty: string): boolean; |
|
This item has no description. |
procedure ConvertToUnit(AUnit: TCSSUnit); virtual; |
|
This item has no description. |
procedure ExitFontSize(APrevFontSize: TFloatWithCSSUnit); virtual; |
|
This item has no description. |
procedure IterateElements(ACallback: TIterateElementCallback; AData: pointer; ARecursive: boolean); virtual; |
|
This item has no description. |
procedure RemoveNamespace(APrefix: string); |
|
This item has no description. |
procedure RemoveStyle(const AName: string); |
|
This item has no description. |
class procedure LocateStyleDeclaration(AText: string; AProperty: string; out AStartPos, AColonPos, AValueLength: integer); |
|
This item has no description. |
procedure SetArrayOfAttributeNumber(AName: string; AValue: ArrayOfTSVGNumber); |
|
This item has no description. |
procedure SetArrayOfAttributeWithUnit(AName: string; const AValue: ArrayOfTFloatWithCSSUnit); |
|
This item has no description. |
procedure SetArrayOfHorizAttributeWithUnit(AName: string; AValue: ArrayOfTFloatWithCSSUnit); |
|
This item has no description. |
procedure SetArrayOfOrthoAttributeWithUnit(AName: string; AValue: ArrayOfTFloatWithCSSUnit); |
|
This item has no description. |
procedure SetArrayOfVerticalAttributeWithUnit(AName: string; AValue: ArrayOfTFloatWithCSSUnit); |
|
This item has no description. |
procedure SetAttribute(AName: string; AValue: TSVGNumber); virtual; overload; |
|
This item has no description. |
procedure SetAttribute(AName: string; AValue: string); virtual; overload; |
|
This item has no description. |
procedure SetAttributeWithUnit(AName: string; AValue: TFloatWithCSSUnit); |
|
This item has no description. |
procedure SetHorizAttribute(AName: string; AValue: TSVGNumber); |
|
This item has no description. |
procedure SetHorizAttributeWithUnit(AName: string; AValue: TFloatWithCSSUnit); |
|
This item has no description. |
procedure SetInlineStyle(AName: string; AValue: TFloatWithCSSUnit); overload; |
|
This item has no description. |
procedure SetInlineStyle(AName: string; AValue: string); overload; |
|
This item has no description. |
procedure SetNamespaceURI(APrefix: string; AValue: string); |
|
This item has no description. |
procedure SetOrthoAttributeWithUnit(AName: string; AValue: TFloatWithCSSUnit); |
|
This item has no description. |
procedure SetVerticalAttribute(AName: string; AValue: TSVGNumber); |
|
This item has no description. |
procedure SetVerticalAttributeWithUnit(AName: string; AValue: TFloatWithCSSUnit); |
|
This item has no description. |
class procedure UpdateStyleDeclarationBlock(var ABlock: string; AProperty: string; AValue: string); |
|
This item has no description. |
Properties
property NamespaceCount: integer read GetNamespaceCount; |
|
This item has no description. |
property NamespacePrefix[AIndex: integer]: string read GetNamespacePrefix; |
|
This item has no description. |
property NamespaceURI[APrefix: string]: string read GetNamespaceURI write SetNamespaceURI; |
|
This item has no description. |
property Style[AName: string]: string read GetStyle write SetInlineStyle; |
|
This item has no description. |
property StyleDef[AName,ADefault: string]: string read GetStyle; |
|
This item has no description. |