PeachDrawing.Text

PeachDrawing.Text.Typeface

Typeface.MatchesEmojiPresentation(Rune, EmojiPresentation) Method

Whether the face is one to prefer for a character drawn in a presentation: its cmap format 14 says it supports the matching variation sequence or, when it declares nothing, its colour-ness agrees (a colour font for emoji presentation, an outline font for text presentation).

public bool MatchesEmojiPresentation(System.Text.Rune rune, PeachDrawing.Text.Unicode.EmojiPresentation presentation);

Parameters

rune System.Text.Rune

The character.

presentation EmojiPresentation

The presentation wanted; NoPreference accepts every face.

Returns

System.Boolean