SKPaint.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
ContainsGlyphs(Byte[]) |
Returns a value indicating whether or not all the characters corresponds to a non-zero glyph index. |
ContainsGlyphs(ReadOnlySpan<Byte>) | |
ContainsGlyphs(ReadOnlySpan<Char>) | |
ContainsGlyphs(String) |
Returns a value indicating whether or not all the characters corresponds to a non-zero glyph index. |
ContainsGlyphs(IntPtr, Int32) |
Returns a value indicating whether or not all the characters corresponds to a non-zero glyph index. |
ContainsGlyphs(IntPtr, IntPtr) |
Returns a value indicating whether or not all the characters corresponds to a non-zero glyph index. |
ContainsGlyphs(Byte[])
Returns a value indicating whether or not all the characters corresponds to a non-zero glyph index.
public bool ContainsGlyphs (byte[] text);
Parameters
- text
- Byte[]
The text encoded using the encoding specified in TextEncoding format.
Returns
Returns true if all the characters corresponds to a non-zero glyph index, otherwise false if any characters in text are not supported in the typeface.
Remarks
This method does not check to see if the text contains invalid glyph indices.
Applies to
ContainsGlyphs(ReadOnlySpan<Byte>)
public bool ContainsGlyphs (ReadOnlySpan<byte> text);
Parameters
- text
- ReadOnlySpan<Byte>
Returns
Applies to
ContainsGlyphs(ReadOnlySpan<Char>)
public bool ContainsGlyphs (ReadOnlySpan<char> text);
Parameters
- text
- ReadOnlySpan<Char>
Returns
Applies to
ContainsGlyphs(String)
Returns a value indicating whether or not all the characters corresponds to a non-zero glyph index.
public bool ContainsGlyphs (string text);
Parameters
- text
- String
The text.
Returns
Returns true if all the characters corresponds to a non-zero glyph index, otherwise false if any characters in text are not supported in the typeface.
Remarks
This method does not check to see if the text contains invalid glyph indices.
Applies to
ContainsGlyphs(IntPtr, Int32)
Returns a value indicating whether or not all the characters corresponds to a non-zero glyph index.
public bool ContainsGlyphs (IntPtr text, int length);
Parameters
- text
- IntPtr
The text buffer encoded using the encoding specified in TextEncoding format.
- length
- Int32
The length of the text buffer.
Returns
Returns true if all the characters corresponds to a non-zero glyph index, otherwise false if any characters in text are not supported in the typeface.
Remarks
This method does not check to see if the text contains invalid glyph indices.
Applies to
ContainsGlyphs(IntPtr, IntPtr)
Returns a value indicating whether or not all the characters corresponds to a non-zero glyph index.
public bool ContainsGlyphs (IntPtr text, IntPtr length);
Parameters
- text
- IntPtr
The text buffer encoded using the encoding specified in TextEncoding format.
- length
- IntPtr
The length of the text buffer.
Returns
Returns true if all the characters corresponds to a non-zero glyph index, otherwise false if any characters in text are not supported in the typeface.
Remarks
This method does not check to see if the text contains invalid glyph indices.