SKPaint.GetTextPath Method

Definition

Overloads

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.

GetTextPath(String, Single, Single)

Returns the path (outline) for the specified text.

GetTextPath(IntPtr, IntPtr, SKPoint[])

Returns the path (outline) for the specified text.

GetTextPath(Byte[], Single, Single)

Returns the path (outline) for the specified text.

GetTextPath(String, SKPoint[])

Returns the path (outline) for the specified text.

GetTextPath(Byte[], SKPoint[])

Returns the path (outline) for the specified text.

GetTextPath(IntPtr, Int32, SKPoint[])

Returns the path (outline) for the specified text.

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.

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.

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.

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.

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.

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.

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.

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