FontMetrics Class

Represents font metrics.

Definition

Namespace: SMath.Drawing
Assembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.4.0.0
C#
public class FontMetrics
Inheritance
Object    FontMetrics

Constructors

FontMetrics Default constructor.

Properties

CellAscent Gets the cell ascent, the area above the base line that is used by the font.
CellDescent Gets the cell descent, the area below the base line that is used by the font.
Height Height of the font in px.
StrikethroughPosition Position of the line text with strikethrough.
UnderlinePosition Position of the line for underlined text.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also