VectSharp 2.6.1
A light library for C# vector graphics
Loading...
Searching...
No Matches
VectSharp.Font.DetailedFontMetrics Class Reference

Represents detailed information about the metrics of a text string when drawn with a certain font. More...

Properties

double Width [get]
 Width of the text (measured on the actual glyph outlines). More...
 
double Height [get]
 Height of the text (measured on the actual glyph outlines). More...
 
double LeftSideBearing [get]
 How much the leftmost glyph in the string overhangs the glyph origin on the left. Positive for glyphs that hang past the origin (e.g. italic 'f'). More...
 
double RightSideBearing [get]
 How much the rightmost glyph in the string overhangs the glyph end on the right. Positive for glyphs that hang past the end (e.g. italic 'f'). More...
 
double Top [get]
 Height of the tallest glyph in the string over the baseline. Always >= 0. More...
 
double Bottom [get]
 Depth of the deepest glyph in the string below the baseline. Always <= 0. More...
 
double AdvanceWidth [get]
 Advance width of the text (excluding any left- or right- side bearing). More...
 

Detailed Description

Represents detailed information about the metrics of a text string when drawn with a certain font.

Definition at line 102 of file Font.cs.

Property Documentation

◆ AdvanceWidth

double VectSharp.Font.DetailedFontMetrics.AdvanceWidth
get

Advance width of the text (excluding any left- or right- side bearing).

Definition at line 137 of file Font.cs.

◆ Bottom

double VectSharp.Font.DetailedFontMetrics.Bottom
get

Depth of the deepest glyph in the string below the baseline. Always <= 0.

Definition at line 132 of file Font.cs.

◆ Height

double VectSharp.Font.DetailedFontMetrics.Height
get

Height of the text (measured on the actual glyph outlines).

Definition at line 112 of file Font.cs.

◆ LeftSideBearing

double VectSharp.Font.DetailedFontMetrics.LeftSideBearing
get

How much the leftmost glyph in the string overhangs the glyph origin on the left. Positive for glyphs that hang past the origin (e.g. italic 'f').

Definition at line 117 of file Font.cs.

◆ RightSideBearing

double VectSharp.Font.DetailedFontMetrics.RightSideBearing
get

How much the rightmost glyph in the string overhangs the glyph end on the right. Positive for glyphs that hang past the end (e.g. italic 'f').

Definition at line 122 of file Font.cs.

◆ Top

double VectSharp.Font.DetailedFontMetrics.Top
get

Height of the tallest glyph in the string over the baseline. Always >= 0.

Definition at line 127 of file Font.cs.

◆ Width

double VectSharp.Font.DetailedFontMetrics.Width
get

Width of the text (measured on the actual glyph outlines).

Definition at line 107 of file Font.cs.


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