Class TSVGText
Unit
Declaration
type TSVGText = class(TSVGTextPositioning)
Description
SVG text object
Hierarchy
- TObject
- TSVGCustomElement
- TSVGElement
- TSVGElementWithGradient
- TSVGTextElement
- TSVGTextElementWithContent
- TSVGTextPositioning
- TSVGText
Overview
Methods
class function GetDOMTag: string; override; |
|
function GetAllText(AInheritedRotation: single): ArrayOfTextParts; |
|
function GetTRefContent(AElement: TSVGTRef): string; |
|
procedure ConvertToUnit(AUnit: TCSSUnit); override; |
|
procedure CleanText(var ATextParts: ArrayOfTextParts); |
|
procedure InternalDraw(ACanvas2d: TBGRACanvas2D; AUnit: TCSSUnit); override; |
|
procedure InternalDrawOrCompute(ACanvas2d: TBGRACanvas2D; AUnit: TCSSUnit; ADraw: boolean; AAllTextBounds: TRectF; var APosition: TPointF; var ATextParts: ArrayOfTextParts; ALevel: integer; AStartPart, AEndPart: integer); overload; |
|
procedure InternalDrawOrCompute(ACanvas2d: TBGRACanvas2D; AUnit: TCSSUnit; ADraw: boolean; AAllTextBounds: TRectF; var APosition: TPointF; var ATextParts: ArrayOfTextParts); overload; |
|
procedure InternalDrawOrComputePart(ACanvas2d: TBGRACanvas2D; AUnit: TCSSUnit; AText: string; APosUnicode: integer; AInheritedRotation: single; ADraw: boolean; AAllTextBounds: TRectF; var APosition: TPointF; out ABounds: TRectF); |
Properties
property fontBold: boolean read GetFontBold write SetFontBold; |
|
property fontFamily: string read GetFontFamily write SetFontFamily; |
|
property fontFamilyList: ArrayOfString read GetFontFamilyList write SetFontFamilyList; |
|
property fontItalic: boolean read GetFontItalic write SetFontItalic; |
|
property fontSize: TFloatWithCSSUnit read GetFontSize write SetFontSize; |
|
property fontStyle: string read GetFontStyle write SetFontStyle; |
|
property fontStyleLCL: TFontStyles read GetFontStyleLCL write SetFontStyleLCL; |
|
property fontWeight: string read GetFontWeight write SetFontWeight; |
|
property lengthAdjust: TSVGLengthAdjust read GetLengthAdjust write SetLengthAdjust; |
|
property SimpleText: string read GetSimpleText write SetSimpleText; |
|
property textAnchor: TSVGTextAnchor read GetTextAnchor write SetTextAnchor; |
|
property textDecoration: string read GetTextDecoration write SetTextDecoration; |
|
property textDirection: TSVGTextDirection read GetTextDirection write SetTextDirection; |
|
property textLength: TFloatWithCSSUnit read GetTextLength write SetTextLength; |
Description
Methods
class function GetDOMTag: string; override; |
|
This item has no description. |
function GetAllText(AInheritedRotation: single): ArrayOfTextParts; |
|
This item has no description. |
function GetTRefContent(AElement: TSVGTRef): string; |
|
This item has no description. |
procedure ConvertToUnit(AUnit: TCSSUnit); override; |
|
This item has no description. |
procedure CleanText(var ATextParts: ArrayOfTextParts); |
|
This item has no description. |
procedure InternalDraw(ACanvas2d: TBGRACanvas2D; AUnit: TCSSUnit); override; |
|
This item has no description. |
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. |
procedure InternalDrawOrCompute(ACanvas2d: TBGRACanvas2D; AUnit: TCSSUnit; ADraw: boolean; AAllTextBounds: TRectF; var APosition: TPointF; var ATextParts: ArrayOfTextParts); overload; |
|
This item has no description. |
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
property fontBold: boolean read GetFontBold write SetFontBold; |
|
This item has no description. |
property fontFamily: string read GetFontFamily write SetFontFamily; |
|
This item has no description. |
property fontFamilyList: ArrayOfString read GetFontFamilyList write SetFontFamilyList; |
|
This item has no description. |
property fontItalic: boolean read GetFontItalic write SetFontItalic; |
|
This item has no description. |
property fontSize: TFloatWithCSSUnit read GetFontSize write SetFontSize; |
|
This item has no description. |
property fontStyle: string read GetFontStyle write SetFontStyle; |
|
This item has no description. |
property fontStyleLCL: TFontStyles read GetFontStyleLCL write SetFontStyleLCL; |
|
This item has no description. |
property fontWeight: string read GetFontWeight write SetFontWeight; |
|
This item has no description. |
property lengthAdjust: TSVGLengthAdjust read GetLengthAdjust write SetLengthAdjust; |
|
This item has no description. |
property SimpleText: string read GetSimpleText write SetSimpleText; |
|
This item has no description. |
property textAnchor: TSVGTextAnchor read GetTextAnchor write SetTextAnchor; |
|
This item has no description. |
property textDecoration: string read GetTextDecoration write SetTextDecoration; |
|
This item has no description. |
property textDirection: TSVGTextDirection read GetTextDirection write SetTextDirection; |
|
This item has no description. |
property textLength: TFloatWithCSSUnit read GetTextLength write SetTextLength; |
|
This item has no description. |