FontHelper Class
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.
Provides segment mappings for hexadecimal digits and certain ASCII characters
public static class FontHelper
type FontHelper = class
Public Class FontHelper
- Inheritance
-
FontHelper
Fields
HexadecimalMask |
Used to mask upper 4 bits of a byte for a single hexadecimal value |
Methods
ConvertHexDigits(Span<Byte>) |
Converts a span of bytes to their corresponding hexadecimal digits' font representation |
ConvertString(ReadOnlySpan<Char>, Span<Font>) |
Convert a string of characters to corresponding fonts |
GetCharacter(Char) |
Convert character value to corresponding font segments |
GetHexDigit(Byte) |
Convert byte value hexadecimal digit (0..F) to corresponding font bits |
GetHexDigits(ReadOnlySpan<Byte>) |
Converts a span of bytes to their corresponding hexadecimal digits' font representation |
GetString(String) |
Convert a string of characters to corresponding font segments |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for