Simple collection of various font metrics.
This object is returned by wx.DC.GetFontMetrics
.
New in version 2.9.2.
ascent |
A public C++ attribute of type int . Part of the height above the baseline. |
averageWidth |
A public C++ attribute of type int . Average font width, a.k.a. “x-width”. |
descent |
A public C++ attribute of type int . Part of the height below the baseline. |
externalLeading |
A public C++ attribute of type int . Inter-line spacing. |
height |
A public C++ attribute of type int . Total character height. |
internalLeading |
A public C++ attribute of type int . Intra-line spacing. |
wx.
FontMetrics
(object)¶Possible constructors:
FontMetrics()
Simple collection of various font metrics.
__init__
(self)¶Constructor initializes all fields to 0.
ascent
¶A public C++ attribute of type int
. Part of the height above the baseline.
averageWidth
¶A public C++ attribute of type int
. Average font width, a.k.a. “x-width”.
descent
¶A public C++ attribute of type int
. Part of the height below the baseline.
externalLeading
¶A public C++ attribute of type int
. Inter-line spacing.
height
¶A public C++ attribute of type int
. Total character height.
internalLeading
¶A public C++ attribute of type int
. Intra-line spacing.