Contains basic information about a physical font.
All sizes are specified in logical units; that is, they depend on the current mapping mode of the display context.
To learn more, see learn.microsoft.com/windows/win32/api/wingdi/ns-wingdi-textmetricw.
- Inheritance
- Implemented types
- Available extensions
Constructors
Properties
-
address
→ Pointer<
T> -
Available on T, provided by the StructAddress extension
The memory address of the underlying data.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tmAscent ↔ int
-
The ascent (units above the base line) of characters.
getter/setter pair
- tmAveCharWidth ↔ int
-
The average width of characters in the font (generally defined as the
width of the letter x ).
getter/setter pair
- tmBreakChar ↔ int
-
The value of the character that will be used to define word breaks for
text justification.
getter/setter pair
- tmCharSet ↔ int
-
getter/setter pair
- tmDefaultChar ↔ int
-
The value of the character to be substituted for characters not in the
font.
getter/setter pair
- tmDescent ↔ int
-
The descent (units below the base line) of characters.
getter/setter pair
- tmDigitizedAspectX ↔ int
-
The horizontal aspect of the device for which the font was designed.
getter/setter pair
- tmDigitizedAspectY ↔ int
-
The vertical aspect of the device for which the font was designed.
getter/setter pair
- tmExternalLeading ↔ int
-
The amount of extra leading (space) that the application adds between
rows.
getter/setter pair
- tmFirstChar ↔ int
-
The value of the first character defined in the font.
getter/setter pair
- tmHeight ↔ int
-
The height (ascent + descent) of characters.
getter/setter pair
- tmInternalLeading ↔ int
-
The amount of leading (space) inside the bounds set by the tmHeight
member.
getter/setter pair
- tmItalic ↔ int
-
Specifies an italic font if it is nonzero.
getter/setter pair
- tmLastChar ↔ int
-
The value of the last character defined in the font.
getter/setter pair
- tmMaxCharWidth ↔ int
-
The width of the widest character in the font.
getter/setter pair
- tmOverhang ↔ int
-
The extra width per string that may be added to some synthesized fonts.
getter/setter pair
- tmPitchAndFamily ↔ TMPF_FLAGS
-
Specifies information about the pitch, the technology, and the family of a
physical font.
getter/setter pair
- tmStruckOut ↔ int
-
A strikeout font if it is nonzero.
getter/setter pair
- tmUnderlined ↔ int
-
Specifies an underlined font if it is nonzero.
getter/setter pair
- tmWeight ↔ int
-
The weight of the font.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toNative(
{Allocator allocator = adaptiveCalloc}) → Pointer< TEXTMETRIC> - Allocates native memory and copies the contents of this struct into it.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited