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>
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.