Class TSVGText

Unit

Declaration

type TSVGText = class(TSVGTextPositioning)

Description

SVG text object

Hierarchy

Overview

Methods

Public class function GetDOMTag: string; override;
Protected function GetAllText(AInheritedRotation: single): ArrayOfTextParts;
Protected function GetTRefContent(AElement: TSVGTRef): string;
Public procedure ConvertToUnit(AUnit: TCSSUnit); override;
Protected procedure CleanText(var ATextParts: ArrayOfTextParts);
Protected procedure InternalDraw(ACanvas2d: TBGRACanvas2D; AUnit: TCSSUnit); override;
Protected procedure InternalDrawOrCompute(ACanvas2d: TBGRACanvas2D; AUnit: TCSSUnit; ADraw: boolean; AAllTextBounds: TRectF; var APosition: TPointF; var ATextParts: ArrayOfTextParts; ALevel: integer; AStartPart, AEndPart: integer); overload;
Protected procedure InternalDrawOrCompute(ACanvas2d: TBGRACanvas2D; AUnit: TCSSUnit; ADraw: boolean; AAllTextBounds: TRectF; var APosition: TPointF; var ATextParts: ArrayOfTextParts); overload;
Protected procedure InternalDrawOrComputePart(ACanvas2d: TBGRACanvas2D; AUnit: TCSSUnit; AText: string; APosUnicode: integer; AInheritedRotation: single; ADraw: boolean; AAllTextBounds: TRectF; var APosition: TPointF; out ABounds: TRectF);

Properties

Public property fontBold: boolean read GetFontBold write SetFontBold;
Public property fontFamily: string read GetFontFamily write SetFontFamily;
Public property fontFamilyList: ArrayOfString read GetFontFamilyList write SetFontFamilyList;
Public property fontItalic: boolean read GetFontItalic write SetFontItalic;
Public property fontSize: TFloatWithCSSUnit read GetFontSize write SetFontSize;
Public property fontStyle: string read GetFontStyle write SetFontStyle;
Public property fontStyleLCL: TFontStyles read GetFontStyleLCL write SetFontStyleLCL;
Public property fontWeight: string read GetFontWeight write SetFontWeight;
Public property lengthAdjust: TSVGLengthAdjust read GetLengthAdjust write SetLengthAdjust;
Public property SimpleText: string read GetSimpleText write SetSimpleText;
Public property textAnchor: TSVGTextAnchor read GetTextAnchor write SetTextAnchor;
Public property textDecoration: string read GetTextDecoration write SetTextDecoration;
Public property textDirection: TSVGTextDirection read GetTextDirection write SetTextDirection;
Public property textLength: TFloatWithCSSUnit read GetTextLength write SetTextLength;

Description

Methods

Public class function GetDOMTag: string; override;

This item has no description.

Protected function GetAllText(AInheritedRotation: single): ArrayOfTextParts;

This item has no description.

Protected function GetTRefContent(AElement: TSVGTRef): string;

This item has no description.

Public procedure ConvertToUnit(AUnit: TCSSUnit); override;

This item has no description.

Protected procedure CleanText(var ATextParts: ArrayOfTextParts);

This item has no description.

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

This item has no description.

Protected procedure InternalDrawOrCompute(ACanvas2d: TBGRACanvas2D; AUnit: TCSSUnit; ADraw: boolean; AAllTextBounds: TRectF; var APosition: TPointF; var ATextParts: ArrayOfTextParts; ALevel: integer; AStartPart, AEndPart: integer); overload;

This item has no description.

Protected procedure InternalDrawOrCompute(ACanvas2d: TBGRACanvas2D; AUnit: TCSSUnit; ADraw: boolean; AAllTextBounds: TRectF; var APosition: TPointF; var ATextParts: ArrayOfTextParts); overload;

This item has no description.

Protected procedure InternalDrawOrComputePart(ACanvas2d: TBGRACanvas2D; AUnit: TCSSUnit; AText: string; APosUnicode: integer; AInheritedRotation: single; ADraw: boolean; AAllTextBounds: TRectF; var APosition: TPointF; out ABounds: TRectF);

This item has no description.

Properties

Public property fontBold: boolean read GetFontBold write SetFontBold;

This item has no description.

Public property fontFamily: string read GetFontFamily write SetFontFamily;

This item has no description.

Public property fontFamilyList: ArrayOfString read GetFontFamilyList write SetFontFamilyList;

This item has no description.

Public property fontItalic: boolean read GetFontItalic write SetFontItalic;

This item has no description.

Public property fontSize: TFloatWithCSSUnit read GetFontSize write SetFontSize;

This item has no description.

Public property fontStyle: string read GetFontStyle write SetFontStyle;

This item has no description.

Public property fontStyleLCL: TFontStyles read GetFontStyleLCL write SetFontStyleLCL;

This item has no description.

Public property fontWeight: string read GetFontWeight write SetFontWeight;

This item has no description.

Public property lengthAdjust: TSVGLengthAdjust read GetLengthAdjust write SetLengthAdjust;

This item has no description.

Public property SimpleText: string read GetSimpleText write SetSimpleText;

This item has no description.

Public property textAnchor: TSVGTextAnchor read GetTextAnchor write SetTextAnchor;

This item has no description.

Public property textDecoration: string read GetTextDecoration write SetTextDecoration;

This item has no description.

Public property textDirection: TSVGTextDirection read GetTextDirection write SetTextDirection;

This item has no description.

Public property textLength: TFloatWithCSSUnit read GetTextLength write SetTextLength;

This item has no description.