SKTypeface.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(ReadOnlySpan<Char>) |
Determines whether this typeface contains glyphs for all characters in the specified text. |
| ContainsGlyphs(ReadOnlySpan<Int32>) |
Determines whether this typeface contains glyphs for all the specified Unicode codepoints. |
| ContainsGlyphs(String) |
Determines whether this typeface contains glyphs for all characters in the specified text. |
| ContainsGlyphs(ReadOnlySpan<Byte>, SKTextEncoding) |
Determines whether this typeface contains glyphs for all characters in the specified buffer. |
| ContainsGlyphs(IntPtr, Int32, SKTextEncoding) |
Determines whether this typeface contains glyphs for all characters in the specified buffer. |
ContainsGlyphs(ReadOnlySpan<Char>)
Determines whether this typeface contains glyphs for all characters in the specified text.
public bool ContainsGlyphs(ReadOnlySpan<char> text);
Parameters
- text
- ReadOnlySpan<Char>
The text to check.
Returns
Returns true if this typeface contains glyphs for all characters; otherwise, false.
Applies to
ContainsGlyphs(ReadOnlySpan<Int32>)
Determines whether this typeface contains glyphs for all the specified Unicode codepoints.
public bool ContainsGlyphs(ReadOnlySpan<int> codepoints);
Parameters
- codepoints
- ReadOnlySpan<Int32>
The Unicode codepoints to check.
Returns
Returns true if this typeface contains glyphs for all codepoints; otherwise, false.
Applies to
ContainsGlyphs(String)
ContainsGlyphs(ReadOnlySpan<Byte>, SKTextEncoding)
Determines whether this typeface contains glyphs for all characters in the specified buffer.
public bool ContainsGlyphs(ReadOnlySpan<byte> text, SkiaSharp.SKTextEncoding encoding);
Parameters
- text
- ReadOnlySpan<Byte>
The buffer containing character codes.
- encoding
- SKTextEncoding
The encoding of the character codes.
Returns
Returns true if this typeface contains glyphs for all characters; otherwise, false.
Applies to
ContainsGlyphs(IntPtr, Int32, SKTextEncoding)
Determines whether this typeface contains glyphs for all characters in the specified buffer.
public bool ContainsGlyphs(IntPtr text, int length, SkiaSharp.SKTextEncoding encoding);
Parameters
- text
- IntPtr
The pointer to the buffer containing character codes.
- length
- Int32
The length of the buffer in bytes.
- encoding
- SKTextEncoding
The encoding of the character codes.
Returns
Returns true if this typeface contains glyphs for all characters; otherwise, false.