SKPaint.GetGlyphPositions 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
| Name | Description |
|---|---|
| GetGlyphPositions(ReadOnlySpan<Byte>, SKPoint) |
Obsolete.
Returns the positions for each glyph in the text. |
| GetGlyphPositions(ReadOnlySpan<Char>, SKPoint) |
Obsolete.
Returns the positions for each glyph in the text. |
| GetGlyphPositions(String, SKPoint) |
Obsolete.
Returns the positions for each glyph in the text. |
| GetGlyphPositions(IntPtr, Int32, SKPoint) |
Obsolete.
Returns the positions for each glyph in the text. |
GetGlyphPositions(ReadOnlySpan<Byte>, SKPoint)
Caution
Use SKFont.GetGlyphPositions() instead.
Returns the positions for each glyph in the text.
public SkiaSharp.SKPoint[] GetGlyphPositions(ReadOnlySpan<byte> text, SkiaSharp.SKPoint origin = default);
[System.Obsolete("Use SKFont.GetGlyphPositions() instead.")]
public SkiaSharp.SKPoint[] GetGlyphPositions(ReadOnlySpan<byte> text, SkiaSharp.SKPoint origin = default);
Parameters
- text
- ReadOnlySpan<Byte>
The text to get glyph positions for as a UTF-8 encoded byte span.
- origin
- SKPoint
The starting position offset.
Returns
An array of positions for each glyph.
- Attributes
Applies to
GetGlyphPositions(ReadOnlySpan<Char>, SKPoint)
Caution
Use SKFont.GetGlyphPositions() instead.
Returns the positions for each glyph in the text.
public SkiaSharp.SKPoint[] GetGlyphPositions(ReadOnlySpan<char> text, SkiaSharp.SKPoint origin = default);
[System.Obsolete("Use SKFont.GetGlyphPositions() instead.")]
public SkiaSharp.SKPoint[] GetGlyphPositions(ReadOnlySpan<char> text, SkiaSharp.SKPoint origin = default);
Parameters
- text
- ReadOnlySpan<Char>
The text to get glyph positions for as a character span.
- origin
- SKPoint
The starting position offset.
Returns
An array of positions for each glyph.
- Attributes
Applies to
GetGlyphPositions(String, SKPoint)
Caution
Use SKFont.GetGlyphPositions() instead.
Returns the positions for each glyph in the text.
public SkiaSharp.SKPoint[] GetGlyphPositions(string text, SkiaSharp.SKPoint origin = default);
[System.Obsolete("Use SKFont.GetGlyphPositions() instead.")]
public SkiaSharp.SKPoint[] GetGlyphPositions(string text, SkiaSharp.SKPoint origin = default);
Parameters
- text
- String
The text to get glyph positions for.
- origin
- SKPoint
The starting position offset.
Returns
An array of positions for each glyph.
- Attributes
Applies to
GetGlyphPositions(IntPtr, Int32, SKPoint)
Caution
Use SKFont.GetGlyphPositions() instead.
Returns the positions for each glyph in the text.
public SkiaSharp.SKPoint[] GetGlyphPositions(IntPtr text, int length, SkiaSharp.SKPoint origin = default);
[System.Obsolete("Use SKFont.GetGlyphPositions() instead.")]
public SkiaSharp.SKPoint[] GetGlyphPositions(IntPtr text, int length, SkiaSharp.SKPoint origin = default);
Parameters
- text
- IntPtr
A pointer to the text buffer encoded using the paint's text encoding.
- length
- Int32
The number of bytes to read from the buffer.
- origin
- SKPoint
The starting position offset.
Returns
An array of positions for each glyph.
- Attributes