SKPaint.GetTextPath Method

Definition

Overloads

GetTextPath(IntPtr, Int32, Single, Single)

Returns the path (outline) for the specified text.

GetTextPath(Byte[], SKPoint[])

Returns the path (outline) for the specified text.

GetTextPath(ReadOnlySpan<Byte>, ReadOnlySpan<SKPoint>)
GetTextPath(ReadOnlySpan<Char>, ReadOnlySpan<SKPoint>)
GetTextPath(String, SKPoint[])

Returns the path (outline) for the specified text.

GetTextPath(Byte[], Single, Single)

Returns the path (outline) for the specified text.

GetTextPath(IntPtr, Int32, SKPoint[])

Returns the path (outline) for the specified text.

GetTextPath(IntPtr, Int32, ReadOnlySpan<SKPoint>)
GetTextPath(IntPtr, IntPtr, SKPoint[])

Returns the path (outline) for the specified text.

GetTextPath(ReadOnlySpan<Byte>, Single, Single)
GetTextPath(ReadOnlySpan<Char>, Single, Single)
GetTextPath(String, Single, Single)

Returns the path (outline) for the specified text.

GetTextPath(IntPtr, IntPtr, Single, Single)

Returns the path (outline) for the specified text.

GetTextPath(IntPtr, Int32, Single, Single)

Returns the path (outline) for the specified text.

public SkiaSharp.SKPath GetTextPath (IntPtr buffer, int length, float x, float y);

Parameters

buffer
IntPtr

The pointer to a region holding text encoded using the encoding specified in TextEncoding format.

length
Int32

The number of bytes to read from the buffer.

x
Single

The x-coordinate of the first glyph in the text.

y
Single

The y-coordinate of the first glyph in the text.

Returns

Returns the SKPath containing the outline of the text.

Applies to

GetTextPath(Byte[], SKPoint[])

Returns the path (outline) for the specified text.

public SkiaSharp.SKPath GetTextPath (byte[] text, SkiaSharp.SKPoint[] points);

Parameters

text
Byte[]

The text encoded using the encoding specified in TextEncoding format.

points
SKPoint[]

The position to use for each glyph in the text.

Returns

Returns the SKPath containing the outline of the text.

Applies to

GetTextPath(ReadOnlySpan<Byte>, ReadOnlySpan<SKPoint>)

public SkiaSharp.SKPath GetTextPath (ReadOnlySpan<byte> text, ReadOnlySpan<SkiaSharp.SKPoint> points);

Parameters

Returns

Applies to

GetTextPath(ReadOnlySpan<Char>, ReadOnlySpan<SKPoint>)

public SkiaSharp.SKPath GetTextPath (ReadOnlySpan<char> text, ReadOnlySpan<SkiaSharp.SKPoint> points);

Parameters

Returns

Applies to

GetTextPath(String, SKPoint[])

Returns the path (outline) for the specified text.

public SkiaSharp.SKPath GetTextPath (string text, SkiaSharp.SKPoint[] points);

Parameters

text
String

The text to generate an outline for.

points
SKPoint[]

The position to use for each glyph in the text.

Returns

Returns the SKPath containing the outline of the text.

Applies to

GetTextPath(Byte[], Single, Single)

Returns the path (outline) for the specified text.

public SkiaSharp.SKPath GetTextPath (byte[] text, float x, float y);

Parameters

text
Byte[]

The text encoded using the encoding specified in TextEncoding format.

x
Single

The x-coordinate of the first glyph in the text.

y
Single

The y-coordinate of the first glyph in the text.

Returns

Returns the SKPath containing the outline of the text.

Applies to

GetTextPath(IntPtr, Int32, SKPoint[])

Returns the path (outline) for the specified text.

public SkiaSharp.SKPath GetTextPath (IntPtr buffer, int length, SkiaSharp.SKPoint[] points);

Parameters

buffer
IntPtr

The pointer to a region holding text encoded using the encoding specified in TextEncoding format.

length
Int32

The number of bytes to read from the buffer.

points
SKPoint[]

The position to use for each glyph in the text.

Returns

Returns the SKPath containing the outline of the text.

Applies to

GetTextPath(IntPtr, Int32, ReadOnlySpan<SKPoint>)

public SkiaSharp.SKPath GetTextPath (IntPtr buffer, int length, ReadOnlySpan<SkiaSharp.SKPoint> points);

Parameters

buffer
IntPtr
length
Int32

Returns

Applies to

GetTextPath(IntPtr, IntPtr, SKPoint[])

Returns the path (outline) for the specified text.

public SkiaSharp.SKPath GetTextPath (IntPtr buffer, IntPtr length, SkiaSharp.SKPoint[] points);

Parameters

buffer
IntPtr

The pointer to a region holding text encoded using the encoding specified in TextEncoding format.

length
IntPtr

The number of bytes to read from the buffer.

points
SKPoint[]

The position to use for each glyph in the text.

Returns

Returns the SKPath containing the outline of the text.

Applies to

GetTextPath(ReadOnlySpan<Byte>, Single, Single)

public SkiaSharp.SKPath GetTextPath (ReadOnlySpan<byte> text, float x, float y);

Parameters

x
Single
y
Single

Returns

Applies to

GetTextPath(ReadOnlySpan<Char>, Single, Single)

public SkiaSharp.SKPath GetTextPath (ReadOnlySpan<char> text, float x, float y);

Parameters

x
Single
y
Single

Returns

Applies to

GetTextPath(String, Single, Single)

Returns the path (outline) for the specified text.

public SkiaSharp.SKPath GetTextPath (string text, float x, float y);

Parameters

text
String

The text to generate an outline for.

x
Single

The x-coordinate of the first glyph in the text.

y
Single

The y-coordinate of the first glyph in the text.

Returns

Returns the SKPath containing the outline of the text.

Applies to

GetTextPath(IntPtr, IntPtr, Single, Single)

Returns the path (outline) for the specified text.

public SkiaSharp.SKPath GetTextPath (IntPtr buffer, IntPtr length, float x, float y);

Parameters

buffer
IntPtr

The pointer to a region holding text encoded using the encoding specified in TextEncoding format.

length
IntPtr

The number of bytes to read from the buffer.

x
Single

The x-coordinate of the first glyph in the text.

y
Single

The y-coordinate of the first glyph in the text.

Returns

Returns the SKPath containing the outline of the text.

Applies to