SKTextBlobBuilder.AddRun Method

Definition

Overloads

AddRun(SKPaint, Single, Single, UInt16[], String, UInt32[])
Obsolete.

Adds a new deafult-positioned run to the builder.

AddRun(SKPaint, Single, Single, UInt16[], String, UInt32[], SKRect)
Obsolete.

Adds a new deafult-positioned run to the builder.

AddRun(SKPaint, Single, Single, UInt16[], Byte[], UInt32[], SKRect)
Obsolete.

Adds a new deafult-positioned run to the builder.

AddRun(SKPaint, Single, Single, ReadOnlySpan<UInt16>, ReadOnlySpan<Byte>, ReadOnlySpan<UInt32>, Nullable<SKRect>)
Obsolete.

Adds a new deafult-positioned run to the builder.

AddRun(SKPaint, Single, Single, UInt16[], Byte[], UInt32[])
Obsolete.

Adds a new deafult-positioned run to the builder.

AddRun(SKPaint, Single, Single, UInt16[])
Obsolete.

Adds a new deafult-positioned run to the builder.

AddRun(SKPaint, Single, Single, UInt16[], SKRect)
Obsolete.

Adds a new deafult-positioned run to the builder.

AddRun(SKPaint, Single, Single, ReadOnlySpan<UInt16>, Nullable<SKRect>)
Obsolete.

Adds a new deafult-positioned run to the builder.

AddRun(SKPaint, Single, Single, ReadOnlySpan<UInt16>)
Obsolete.

Adds a new deafult-positioned run to the builder.

AddRun(ReadOnlySpan<UInt16>, SKFont, SKPoint)
AddRun(SKPaint, Single, Single, ReadOnlySpan<UInt16>, ReadOnlySpan<Byte>, ReadOnlySpan<UInt32>)
Obsolete.

Adds a new deafult-positioned run to the builder.

AddRun(SKPaint, Single, Single, UInt16[], String, UInt32[])

Caution

Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.

Adds a new deafult-positioned run to the builder.

public void AddRun (SkiaSharp.SKPaint font, float x, float y, ushort[] glyphs, string text, uint[] clusters);
[System.Obsolete("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SkiaSharp.SKPaint font, float x, float y, ushort[] glyphs, string text, uint[] clusters);

Parameters

font
SKPaint

The font to be used for this run.

x
Single

The x-position of the origin of this run.

y
Single

The y-position of the origin of this run.

glyphs
UInt16[]

The glyphs for this run.

text
String

The chacracter information for this run.

clusters
UInt32[]

The glyph's cluster information.

Attributes

Remarks

The number of characters and clusters must be the same as the number of glyphs.

Applies to

AddRun(SKPaint, Single, Single, UInt16[], String, UInt32[], SKRect)

Caution

Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.

Adds a new deafult-positioned run to the builder.

public void AddRun (SkiaSharp.SKPaint font, float x, float y, ushort[] glyphs, string text, uint[] clusters, SkiaSharp.SKRect bounds);
[System.Obsolete("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SkiaSharp.SKPaint font, float x, float y, ushort[] glyphs, string text, uint[] clusters, SkiaSharp.SKRect bounds);

Parameters

font
SKPaint

The font to be used for this run.

x
Single

The x-position of the origin of this run.

y
Single

The y-position of the origin of this run.

glyphs
UInt16[]

The glyphs for this run.

text
String

The chacracter information for this run.

clusters
UInt32[]

The glyph's cluster information.

bounds
SKRect

The bounding box of the run, used when computing the blob bounds to avoid re-measuring.

Attributes

Remarks

The number of characters and clusters must be the same as the number of glyphs.

Applies to

AddRun(SKPaint, Single, Single, UInt16[], Byte[], UInt32[], SKRect)

Caution

Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.

Adds a new deafult-positioned run to the builder.

public void AddRun (SkiaSharp.SKPaint font, float x, float y, ushort[] glyphs, byte[] text, uint[] clusters, SkiaSharp.SKRect bounds);
[System.Obsolete("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SkiaSharp.SKPaint font, float x, float y, ushort[] glyphs, byte[] text, uint[] clusters, SkiaSharp.SKRect bounds);

Parameters

font
SKPaint

The font to be used for this run.

x
Single

The x-position of the origin of this run.

y
Single

The y-position of the origin of this run.

glyphs
UInt16[]

The glyphs for this run.

text
Byte[]

The UTF-8 chacracter information for this run.

clusters
UInt32[]

The glyph's cluster information.

bounds
SKRect

The bounding box of the run, used when computing the blob bounds to avoid re-measuring.

Attributes

Remarks

The number of characters and clusters must be the same as the number of glyphs.

Applies to

AddRun(SKPaint, Single, Single, ReadOnlySpan<UInt16>, ReadOnlySpan<Byte>, ReadOnlySpan<UInt32>, Nullable<SKRect>)

Caution

Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.

Adds a new deafult-positioned run to the builder.

public void AddRun (SkiaSharp.SKPaint font, float x, float y, ReadOnlySpan<ushort> glyphs, ReadOnlySpan<byte> text, ReadOnlySpan<uint> clusters, SkiaSharp.SKRect? bounds);
[System.Obsolete("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SkiaSharp.SKPaint font, float x, float y, ReadOnlySpan<ushort> glyphs, ReadOnlySpan<byte> text, ReadOnlySpan<uint> clusters, SkiaSharp.SKRect? bounds);

Parameters

font
SKPaint

The font to be used for this run.

x
Single

The x-position of the origin of this run.

y
Single

The y-position of the origin of this run.

glyphs
ReadOnlySpan<UInt16>

The glyphs for this run.

text
ReadOnlySpan<Byte>

The UTF-8 chacracter information for this run.

clusters
ReadOnlySpan<UInt32>

The glyph's cluster information.

bounds
Nullable<SKRect>

The bounding box of the run, used when computing the blob bounds to avoid re-measuring.

Attributes

Remarks

The number of characters and clusters must be the same as the number of glyphs.

Applies to

AddRun(SKPaint, Single, Single, UInt16[], Byte[], UInt32[])

Caution

Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.

Adds a new deafult-positioned run to the builder.

public void AddRun (SkiaSharp.SKPaint font, float x, float y, ushort[] glyphs, byte[] text, uint[] clusters);
[System.Obsolete("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SkiaSharp.SKPaint font, float x, float y, ushort[] glyphs, byte[] text, uint[] clusters);

Parameters

font
SKPaint

The font to be used for this run.

x
Single

The x-position of the origin of this run.

y
Single

The y-position of the origin of this run.

glyphs
UInt16[]

The glyphs for this run.

text
Byte[]

The UTF-8 chacracter information for this run.

clusters
UInt32[]

The glyph's cluster information.

Attributes

Remarks

The number of characters and clusters must be the same as the number of glyphs.

Applies to

AddRun(SKPaint, Single, Single, UInt16[])

Caution

Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.

Adds a new deafult-positioned run to the builder.

public void AddRun (SkiaSharp.SKPaint font, float x, float y, ushort[] glyphs);
[System.Obsolete("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SkiaSharp.SKPaint font, float x, float y, ushort[] glyphs);

Parameters

font
SKPaint

The font to be used for this run.

x
Single

The x-position of the origin of this run.

y
Single

The y-position of the origin of this run.

glyphs
UInt16[]

The glyphs for this run.

Attributes

Applies to

AddRun(SKPaint, Single, Single, UInt16[], SKRect)

Caution

Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.

Adds a new deafult-positioned run to the builder.

public void AddRun (SkiaSharp.SKPaint font, float x, float y, ushort[] glyphs, SkiaSharp.SKRect bounds);
[System.Obsolete("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SkiaSharp.SKPaint font, float x, float y, ushort[] glyphs, SkiaSharp.SKRect bounds);

Parameters

font
SKPaint

The font to be used for this run.

x
Single

The x-position of the origin of this run.

y
Single

The y-position of the origin of this run.

glyphs
UInt16[]

The glyphs for this run.

bounds
SKRect

The bounding box of the run, used when computing the blob bounds to avoid re-measuring.

Attributes

Applies to

AddRun(SKPaint, Single, Single, ReadOnlySpan<UInt16>, Nullable<SKRect>)

Caution

Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.

Adds a new deafult-positioned run to the builder.

public void AddRun (SkiaSharp.SKPaint font, float x, float y, ReadOnlySpan<ushort> glyphs, SkiaSharp.SKRect? bounds);
[System.Obsolete("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SkiaSharp.SKPaint font, float x, float y, ReadOnlySpan<ushort> glyphs, SkiaSharp.SKRect? bounds);

Parameters

font
SKPaint

The font to be used for this run.

x
Single

The x-position of the origin of this run.

y
Single

The y-position of the origin of this run.

glyphs
ReadOnlySpan<UInt16>

The glyphs for this run.

bounds
Nullable<SKRect>

The bounding box of the run, used when computing the blob bounds to avoid re-measuring.

Attributes

Applies to

AddRun(SKPaint, Single, Single, ReadOnlySpan<UInt16>)

Caution

Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.

Adds a new deafult-positioned run to the builder.

public void AddRun (SkiaSharp.SKPaint font, float x, float y, ReadOnlySpan<ushort> glyphs);
[System.Obsolete("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SkiaSharp.SKPaint font, float x, float y, ReadOnlySpan<ushort> glyphs);

Parameters

font
SKPaint

The font to be used for this run.

x
Single

The x-position of the origin of this run.

y
Single

The y-position of the origin of this run.

glyphs
ReadOnlySpan<UInt16>

The glyphs for this run.

Attributes

Applies to

AddRun(ReadOnlySpan<UInt16>, SKFont, SKPoint)

public void AddRun (ReadOnlySpan<ushort> glyphs, SkiaSharp.SKFont font, SkiaSharp.SKPoint origin = default);

Parameters

font
SKFont
origin
SKPoint

Applies to

AddRun(SKPaint, Single, Single, ReadOnlySpan<UInt16>, ReadOnlySpan<Byte>, ReadOnlySpan<UInt32>)

Caution

Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.

Adds a new deafult-positioned run to the builder.

public void AddRun (SkiaSharp.SKPaint font, float x, float y, ReadOnlySpan<ushort> glyphs, ReadOnlySpan<byte> text, ReadOnlySpan<uint> clusters);
[System.Obsolete("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SkiaSharp.SKPaint font, float x, float y, ReadOnlySpan<ushort> glyphs, ReadOnlySpan<byte> text, ReadOnlySpan<uint> clusters);

Parameters

font
SKPaint

The font to be used for this run.

x
Single

The x-position of the origin of this run.

y
Single

The y-position of the origin of this run.

glyphs
ReadOnlySpan<UInt16>

The glyphs for this run.

text
ReadOnlySpan<Byte>

The UTF-8 chacracter information for this run.

clusters
ReadOnlySpan<UInt32>

The glyph's cluster information.

Attributes

Remarks

The number of characters and clusters must be the same as the number of glyphs.

Applies to