Editar

Compartir a través de


SKPaint.CountGlyphs Method

Definition

Overloads

CountGlyphs(Byte[])

Returns the number of glyphs in text.

CountGlyphs(ReadOnlySpan<Byte>)
CountGlyphs(ReadOnlySpan<Char>)
CountGlyphs(String)

Returns the number of glyphs in text.

CountGlyphs(IntPtr, Int32)

Returns the number of glyphs in text.

CountGlyphs(IntPtr, IntPtr)

Returns the number of glyphs in text.

CountGlyphs(Byte[])

Returns the number of glyphs in text.

public int CountGlyphs (byte[] text);

Parameters

text
Byte[]

The text encoded using the encoding specified in TextEncoding format.

Returns

Returns the number of glyphs in text.

Applies to

CountGlyphs(ReadOnlySpan<Byte>)

public int CountGlyphs (ReadOnlySpan<byte> text);

Parameters

Returns

Applies to

CountGlyphs(ReadOnlySpan<Char>)

public int CountGlyphs (ReadOnlySpan<char> text);

Parameters

Returns

Applies to

CountGlyphs(String)

Returns the number of glyphs in text.

public int CountGlyphs (string text);

Parameters

text
String

The text.

Returns

Returns the number of glyphs in text.

Applies to

CountGlyphs(IntPtr, Int32)

Returns the number of glyphs in text.

public int CountGlyphs (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 the number of glyphs in text.

Applies to

CountGlyphs(IntPtr, IntPtr)

Returns the number of glyphs in text.

public int CountGlyphs (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 the number of glyphs in text.

Applies to