PeachDrawing.Text
PeachDrawing.Text.Unicode
Emoji Class
Which of its two appearances, text or emoji, a character that has both is to be drawn in (UTS #51 and
CSS Fonts 4 font-variant-emoji).
public static class Emoji
Inheritance System.Object → Emoji
| Fields | |
|---|---|
| EmojiSelector | U+FE0F VARIATION SELECTOR-16, which asks for the emoji presentation. |
| TextSelector | U+FE0E VARIATION SELECTOR-15, which asks for the text presentation. |
| Methods | |
|---|---|
| IsPresentationParticipant(Rune) | Whether a character takes part in emoji presentation: it is the base of an entry of Unicode’s emoji-variation-sequences.txt. A variation selector after any other character has no effect. |
| IsPresentationSelector(Rune) | Whether a character is U+FE0E or U+FE0F, the only variation selectors that steer the choice of font. |
| Resolve(EmojiMode, int, int) | Decides the presentation of one character from the mode a caller asks for and what follows the character. |
| ResolveAt(EmojiMode, string, int) | Decides the presentation of the character that starts at an index of a text, reading the variation selector that follows it, if any, from the text itself. |
| SelectorFor(EmojiPresentation) | The variation selector that spells out a presentation, or 0 for NoPreference. |