VectSharp 2.5.0
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 100 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 135 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 130 of file Font.cs.

◆ Height

double VectSharp.Font.DetailedFontMetrics.Height
get

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

Definition at line 110 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 115 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 120 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 125 of file Font.cs.

◆ Width

double VectSharp.Font.DetailedFontMetrics.Width
get

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

Definition at line 105 of file Font.cs.


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