VectSharp 2.5.0
A light library for C# vector graphics
Loading...
Searching...
No Matches
VectSharp.FormattedTextExtensions Class Reference

Contains extension methods for collections of FormattedText objects. More...

Static Public Member Functions

static Font.DetailedFontMetrics Measure (this IEnumerable< FormattedText > text)
 Measures a collection of FormattedText objects. More...
 
static string GetText (this IEnumerable< FormattedText > text)
 Extracts the text from a collection of FormattedText objects. More...
 

Detailed Description

Contains extension methods for collections of FormattedText objects.

Definition at line 542 of file FormattedText.cs.

Member Function Documentation

◆ GetText()

static string VectSharp.FormattedTextExtensions.GetText ( this IEnumerable< FormattedText text)
static

Extracts the text from a collection of FormattedText objects.

Parameters
textThe collection of FormattedText objects whose text should be extracted.
Returns
A text rappresentation of the collection of FormattedText objects.

Definition at line 644 of file FormattedText.cs.

◆ Measure()

static Font.DetailedFontMetrics VectSharp.FormattedTextExtensions.Measure ( this IEnumerable< FormattedText text)
static

Measures a collection of FormattedText objects.

Parameters
textThe collection of FormattedText objects to be measured.
Returns
A Font.DetailedFontMetrics containing detailed measurements for the text obtained by composing the elements in the FormattedText collection.

Definition at line 634 of file FormattedText.cs.


The documentation for this class was generated from the following file: