SKFont.CountGlyphs 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
CountGlyphs(IntPtr, Int32, SKTextEncoding) | |
CountGlyphs(ReadOnlySpan<Byte>, SKTextEncoding) | |
CountGlyphs(ReadOnlySpan<Char>) | |
CountGlyphs(String) |
CountGlyphs(IntPtr, Int32, SKTextEncoding)
public int CountGlyphs (IntPtr text, int length, SkiaSharp.SKTextEncoding encoding);
Parameters
- text
- IntPtr
- length
- Int32
- encoding
- SKTextEncoding
Returns
Applies to
CountGlyphs(ReadOnlySpan<Byte>, SKTextEncoding)
public int CountGlyphs (ReadOnlySpan<byte> text, SkiaSharp.SKTextEncoding encoding);
Parameters
- text
- ReadOnlySpan<Byte>
- encoding
- SKTextEncoding
Returns
Applies to
CountGlyphs(ReadOnlySpan<Char>)
public int CountGlyphs (ReadOnlySpan<char> text);
Parameters
- text
- ReadOnlySpan<Char>