SKPaint.CountGlyphs Method

Definition

Overloads

CountGlyphs(Byte[])

Returns the number of glyphs in text.

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.

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.

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.

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