SKPaint.GetGlyphOffsets 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
GetGlyphOffsets(IntPtr, Int32, Single) | |
GetGlyphOffsets(String, Single) | |
GetGlyphOffsets(ReadOnlySpan<Char>, Single) | |
GetGlyphOffsets(ReadOnlySpan<Byte>, Single) |
GetGlyphOffsets(IntPtr, Int32, Single)
GetGlyphOffsets(String, Single)
GetGlyphOffsets(ReadOnlySpan<Char>, Single)
public float[] GetGlyphOffsets (ReadOnlySpan<char> text, float origin = 0);
Parameters
- text
- ReadOnlySpan<Char>
- origin
- Single
Returns
Single[]
Applies to
GetGlyphOffsets(ReadOnlySpan<Byte>, Single)
public float[] GetGlyphOffsets (ReadOnlySpan<byte> text, float origin = 0);
Parameters
- text
- ReadOnlySpan<Byte>
- origin
- Single
Returns
Single[]
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.