Modifier

Partager via


SKPaint.ContainsGlyphs Method

Definition

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

Returns

Applies to

ContainsGlyphs(ReadOnlySpan<Char>)

public bool ContainsGlyphs (ReadOnlySpan<char> text);

Parameters

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.

Applies to