Edit

SKTextBlob.CreateRotationScale Method

Definition

Overloads

Name Description
CreateRotationScale(ReadOnlySpan<Char>, SKFont, ReadOnlySpan<SKRotationScaleMatrix>)

Creates a new text blob with rotation and scale transformations for each glyph.

CreateRotationScale(String, SKFont, ReadOnlySpan<SKRotationScaleMatrix>)

Creates a new text blob with rotation and scale transformations for each glyph.

CreateRotationScale(ReadOnlySpan<Byte>, SKTextEncoding, SKFont, ReadOnlySpan<SKRotationScaleMatrix>)

Creates a new text blob with rotation and scale transformations from encoded text.

CreateRotationScale(IntPtr, Int32, SKTextEncoding, SKFont, ReadOnlySpan<SKRotationScaleMatrix>)

Creates a new text blob with rotation and scale transformations from encoded text pointer.

CreateRotationScale(ReadOnlySpan<Char>, SKFont, ReadOnlySpan<SKRotationScaleMatrix>)

Creates a new text blob with rotation and scale transformations for each glyph.

public static SkiaSharp.SKTextBlob? CreateRotationScale(ReadOnlySpan<char> text, SkiaSharp.SKFont font, ReadOnlySpan<SkiaSharp.SKRotationScaleMatrix> positions);

Parameters

text
ReadOnlySpan<Char>

The text to shape and render.

font
SKFont

The font used to shape the text.

positions
ReadOnlySpan<SKRotationScaleMatrix>

The rotation-scale matrices for each glyph.

Returns

A new text blob, or null if creation fails.

Applies to

CreateRotationScale(String, SKFont, ReadOnlySpan<SKRotationScaleMatrix>)

Creates a new text blob with rotation and scale transformations for each glyph.

public static SkiaSharp.SKTextBlob? CreateRotationScale(string text, SkiaSharp.SKFont font, ReadOnlySpan<SkiaSharp.SKRotationScaleMatrix> positions);

Parameters

text
String

The text to shape and render.

font
SKFont

The font used to shape the text.

positions
ReadOnlySpan<SKRotationScaleMatrix>

The rotation-scale matrices for each glyph.

Returns

A new text blob, or null if creation fails.

Applies to

CreateRotationScale(ReadOnlySpan<Byte>, SKTextEncoding, SKFont, ReadOnlySpan<SKRotationScaleMatrix>)

Creates a new text blob with rotation and scale transformations from encoded text.

public static SkiaSharp.SKTextBlob? CreateRotationScale(ReadOnlySpan<byte> text, SkiaSharp.SKTextEncoding encoding, SkiaSharp.SKFont font, ReadOnlySpan<SkiaSharp.SKRotationScaleMatrix> positions);

Parameters

text
ReadOnlySpan<Byte>

The encoded text bytes to shape and render.

encoding
SKTextEncoding

The text encoding of the input text.

font
SKFont

The font used to shape the text.

positions
ReadOnlySpan<SKRotationScaleMatrix>

The rotation-scale matrices for each glyph.

Returns

A new text blob, or null if creation fails.

Applies to

CreateRotationScale(IntPtr, Int32, SKTextEncoding, SKFont, ReadOnlySpan<SKRotationScaleMatrix>)

Creates a new text blob with rotation and scale transformations from encoded text pointer.

public static SkiaSharp.SKTextBlob? CreateRotationScale(IntPtr text, int length, SkiaSharp.SKTextEncoding encoding, SkiaSharp.SKFont font, ReadOnlySpan<SkiaSharp.SKRotationScaleMatrix> positions);

Parameters

text
IntPtr

A pointer to the encoded text data.

length
Int32

The length of the text data in bytes.

encoding
SKTextEncoding

The text encoding of the input text.

font
SKFont

The font used to shape the text.

positions
ReadOnlySpan<SKRotationScaleMatrix>

The rotation-scale matrices for each glyph.

Returns

A new text blob, or null if creation fails.

Applies to