SKFontMetrics Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Structure to represent measurements for a font.
public struct SKFontMetrics
public struct SKFontMetrics : IEquatable<SkiaSharp.SKFontMetrics>
- Inheritance
-
SKFontMetrics
- Implements
Properties
Ascent |
Gets the recommended distance above the baseline. |
AverageCharacterWidth |
Gets the average character width. |
Bottom |
Gets the greatest distance below the baseline for any glyph. |
CapHeight |
Gets the cap height. |
Descent |
Gets the recommended distance below the baseline. |
Leading |
Gets the recommended distance to add between lines of text. |
MaxCharacterWidth |
Gets the max character width. |
StrikeoutPosition |
Gets the position of the bottom of the strikeout stroke relative to the baseline. |
StrikeoutThickness |
Gets the thickness of the strikeout. |
Top |
Gets the greatest distance above the baseline for any glyph. |
UnderlinePosition |
Gets the position of the top of the underline stroke relative to the baseline. |
UnderlineThickness |
Gets the thickness of the underline. |
XHeight |
Gets the height of an 'x' in px. |
XMax |
Gets the maximum bounding box x value for all glyphs. |
XMin |
Gets the minimum bounding box x value for all glyphs. |
Methods
Equals(Object) | |
Equals(SKFontMetrics) | |
GetHashCode() |
Operators
Equality(SKFontMetrics, SKFontMetrics) | |
Inequality(SKFontMetrics, SKFontMetrics) |
Applies to
SkiaSharp
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기