SKFont.ContainsGlyphs Method
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.
Overloads
| Name | Description |
|---|---|
| ContainsGlyphs(IntPtr, Int32, SKTextEncoding) |
Determines whether the font contains glyphs for all characters in the text. |
| ContainsGlyphs(ReadOnlySpan<Byte>, SKTextEncoding) |
Determines whether the font contains glyphs for all characters in the text. |
| ContainsGlyphs(ReadOnlySpan<Int32>) |
Determines whether the font contains glyphs for all specified codepoints. |
| ContainsGlyphs(ReadOnlySpan<Char>) |
Determines whether the font contains glyphs for all characters in the text. |
| ContainsGlyphs(String) |
Determines whether the font contains glyphs for all characters in the string. |
ContainsGlyphs(IntPtr, Int32, SKTextEncoding)
Determines whether the font contains glyphs for all characters in the text.
public bool ContainsGlyphs(IntPtr text, int length, SkiaSharp.SKTextEncoding encoding);
Parameters
- text
- IntPtr
A pointer to the text buffer.
- length
- Int32
The number of bytes in the text buffer.
- encoding
- SKTextEncoding
The SKTextEncoding of the text.
Returns
true if the font contains glyphs for all characters; otherwise, false.
Applies to
ContainsGlyphs(ReadOnlySpan<Byte>, SKTextEncoding)
Determines whether the font contains glyphs for all characters in the text.
public bool ContainsGlyphs(ReadOnlySpan<byte> text, SkiaSharp.SKTextEncoding encoding);
Parameters
- text
- ReadOnlySpan<Byte>
The text to check.
- encoding
- SKTextEncoding
The SKTextEncoding of the text.
Returns
true if the font contains glyphs for all characters; otherwise, false.
Applies to
ContainsGlyphs(ReadOnlySpan<Int32>)
Determines whether the font contains glyphs for all specified codepoints.
public bool ContainsGlyphs(ReadOnlySpan<int> codepoints);
Parameters
- codepoints
- ReadOnlySpan<Int32>
The Unicode codepoints to check.
Returns
true if the font contains glyphs for all codepoints; otherwise, false.
Applies to
ContainsGlyphs(ReadOnlySpan<Char>)
Determines whether the font contains glyphs for all characters in the text.
public bool ContainsGlyphs(ReadOnlySpan<char> text);
Parameters
- text
- ReadOnlySpan<Char>
The text to check.
Returns
true if the font contains glyphs for all characters; otherwise, false.