Editar

Compartir a través de


SKTextBlobBuilder.AddPositionedRun Method

Definition

Overloads

AddPositionedRun(SKPaint, UInt16[], SKPoint[], String, UInt32[])
Obsolete.

Adds a new fully-positioned run to the builder.

AddPositionedRun(SKPaint, UInt16[], SKPoint[], String, UInt32[], SKRect)
Obsolete.

Adds a new fully-positioned run to the builder.

AddPositionedRun(SKPaint, UInt16[], SKPoint[], Byte[], UInt32[], SKRect)
Obsolete.

Adds a new fully-positioned run to the builder.

AddPositionedRun(SKPaint, ReadOnlySpan<UInt16>, ReadOnlySpan<SKPoint>, ReadOnlySpan<Byte>, ReadOnlySpan<UInt32>, Nullable<SKRect>)
Obsolete.

Adds a new fully-positioned run to the builder.

AddPositionedRun(SKPaint, UInt16[], SKPoint[], Byte[], UInt32[])
Obsolete.

Adds a new fully-positioned run to the builder.

AddPositionedRun(SKPaint, UInt16[], SKPoint[])
Obsolete.

Adds a new fully-positioned run to the builder.

AddPositionedRun(SKPaint, UInt16[], SKPoint[], SKRect)
Obsolete.

Adds a new fully-positioned run to the builder.

AddPositionedRun(SKPaint, ReadOnlySpan<UInt16>, ReadOnlySpan<SKPoint>, Nullable<SKRect>)
Obsolete.

Adds a new fully-positioned run to the builder.

AddPositionedRun(ReadOnlySpan<UInt16>, SKFont, ReadOnlySpan<SKPoint>)
AddPositionedRun(SKPaint, ReadOnlySpan<UInt16>, ReadOnlySpan<SKPoint>)
Obsolete.

Adds a new fully-positioned run to the builder.

AddPositionedRun(SKPaint, ReadOnlySpan<UInt16>, ReadOnlySpan<SKPoint>, ReadOnlySpan<Byte>, ReadOnlySpan<UInt32>)
Obsolete.

Adds a new fully-positioned run to the builder.

AddPositionedRun(SKPaint, UInt16[], SKPoint[], String, UInt32[])

Caution

Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.

Adds a new fully-positioned run to the builder.

public void AddPositionedRun (SkiaSharp.SKPaint font, ushort[] glyphs, SkiaSharp.SKPoint[] positions, string text, uint[] clusters);
[System.Obsolete("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
public void AddPositionedRun (SkiaSharp.SKPaint font, ushort[] glyphs, SkiaSharp.SKPoint[] positions, string text, uint[] clusters);

Parameters

font
SKPaint

The font to be used for this run.

glyphs
UInt16[]

The glyphs for this run.

positions
SKPoint[]

The positions of each glyph.

text
String

The chacracter information for this run.

clusters
UInt32[]

The glyph's cluster information.

Attributes

Remarks

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

Applies to

AddPositionedRun(SKPaint, UInt16[], SKPoint[], String, UInt32[], SKRect)

Caution

Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.

Adds a new fully-positioned run to the builder.

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

Parameters

font
SKPaint

The font to be used for this run.

glyphs
UInt16[]

The glyphs for this run.

positions
SKPoint[]

The positions of each glyph.

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 positions, characters and clusters must be the same as the number of glyphs.

Applies to

AddPositionedRun(SKPaint, UInt16[], SKPoint[], Byte[], UInt32[], SKRect)

Caution

Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.

Adds a new fully-positioned run to the builder.

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

Parameters

font
SKPaint

The font to be used for this run.

glyphs
UInt16[]

The glyphs for this run.

positions
SKPoint[]

The positions of each glyph.

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 positions, characters and clusters must be the same as the number of glyphs.

Applies to

AddPositionedRun(SKPaint, ReadOnlySpan<UInt16>, ReadOnlySpan<SKPoint>, ReadOnlySpan<Byte>, ReadOnlySpan<UInt32>, Nullable<SKRect>)

Caution

Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.

Adds a new fully-positioned run to the builder.

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

Parameters

font
SKPaint

The font to be used for this run.

glyphs
ReadOnlySpan<UInt16>

The glyphs for this run.

positions
ReadOnlySpan<SKPoint>

The positions of each glyph.

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 positions, characters and clusters must be the same as the number of glyphs.

Applies to

AddPositionedRun(SKPaint, UInt16[], SKPoint[], Byte[], UInt32[])

Caution

Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.

Adds a new fully-positioned run to the builder.

public void AddPositionedRun (SkiaSharp.SKPaint font, ushort[] glyphs, SkiaSharp.SKPoint[] positions, byte[] text, uint[] clusters);
[System.Obsolete("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
public void AddPositionedRun (SkiaSharp.SKPaint font, ushort[] glyphs, SkiaSharp.SKPoint[] positions, byte[] text, uint[] clusters);

Parameters

font
SKPaint

The font to be used for this run.

glyphs
UInt16[]

The glyphs for this run.

positions
SKPoint[]

The positions of each glyph.

text
Byte[]

The UTF-8 chacracter information for this run.

clusters
UInt32[]

The glyph's cluster information.

Attributes

Remarks

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

Applies to

AddPositionedRun(SKPaint, UInt16[], SKPoint[])

Caution

Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.

Adds a new fully-positioned run to the builder.

public void AddPositionedRun (SkiaSharp.SKPaint font, ushort[] glyphs, SkiaSharp.SKPoint[] positions);
[System.Obsolete("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
public void AddPositionedRun (SkiaSharp.SKPaint font, ushort[] glyphs, SkiaSharp.SKPoint[] positions);

Parameters

font
SKPaint

The font to be used for this run.

glyphs
UInt16[]

The glyphs for this run.

positions
SKPoint[]

The positions of each glyph.

Attributes

Remarks

The number of positions must be the same as the number of glyphs.

Applies to

AddPositionedRun(SKPaint, UInt16[], SKPoint[], SKRect)

Caution

Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.

Adds a new fully-positioned run to the builder.

public void AddPositionedRun (SkiaSharp.SKPaint font, ushort[] glyphs, SkiaSharp.SKPoint[] positions, SkiaSharp.SKRect bounds);
[System.Obsolete("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
public void AddPositionedRun (SkiaSharp.SKPaint font, ushort[] glyphs, SkiaSharp.SKPoint[] positions, SkiaSharp.SKRect bounds);

Parameters

font
SKPaint

The font to be used for this run.

glyphs
UInt16[]

The glyphs for this run.

positions
SKPoint[]

The positions of each glyph.

bounds
SKRect

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

Attributes

Remarks

The number of positions must be the same as the number of glyphs.

Applies to

AddPositionedRun(SKPaint, ReadOnlySpan<UInt16>, ReadOnlySpan<SKPoint>, Nullable<SKRect>)

Caution

Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.

Adds a new fully-positioned run to the builder.

public void AddPositionedRun (SkiaSharp.SKPaint font, ReadOnlySpan<ushort> glyphs, ReadOnlySpan<SkiaSharp.SKPoint> positions, SkiaSharp.SKRect? bounds);
[System.Obsolete("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
public void AddPositionedRun (SkiaSharp.SKPaint font, ReadOnlySpan<ushort> glyphs, ReadOnlySpan<SkiaSharp.SKPoint> positions, SkiaSharp.SKRect? bounds);

Parameters

font
SKPaint

The font to be used for this run.

glyphs
ReadOnlySpan<UInt16>

The glyphs for this run.

positions
ReadOnlySpan<SKPoint>

The positions of each glyph.

bounds
Nullable<SKRect>

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

Attributes

Remarks

The number of positions must be the same as the number of glyphs.

Applies to

AddPositionedRun(ReadOnlySpan<UInt16>, SKFont, ReadOnlySpan<SKPoint>)

public void AddPositionedRun (ReadOnlySpan<ushort> glyphs, SkiaSharp.SKFont font, ReadOnlySpan<SkiaSharp.SKPoint> positions);

Parameters

font
SKFont
positions
ReadOnlySpan<SKPoint>

Applies to

AddPositionedRun(SKPaint, ReadOnlySpan<UInt16>, ReadOnlySpan<SKPoint>)

Caution

Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.

Adds a new fully-positioned run to the builder.

public void AddPositionedRun (SkiaSharp.SKPaint font, ReadOnlySpan<ushort> glyphs, ReadOnlySpan<SkiaSharp.SKPoint> positions);
[System.Obsolete("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
public void AddPositionedRun (SkiaSharp.SKPaint font, ReadOnlySpan<ushort> glyphs, ReadOnlySpan<SkiaSharp.SKPoint> positions);

Parameters

font
SKPaint

The font to be used for this run.

glyphs
ReadOnlySpan<UInt16>

The glyphs for this run.

positions
ReadOnlySpan<SKPoint>

The positions of each glyph.

Attributes

Remarks

The number of positions must be the same as the number of glyphs.

Applies to

AddPositionedRun(SKPaint, ReadOnlySpan<UInt16>, ReadOnlySpan<SKPoint>, ReadOnlySpan<Byte>, ReadOnlySpan<UInt32>)

Caution

Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.

Adds a new fully-positioned run to the builder.

public void AddPositionedRun (SkiaSharp.SKPaint font, ReadOnlySpan<ushort> glyphs, ReadOnlySpan<SkiaSharp.SKPoint> positions, ReadOnlySpan<byte> text, ReadOnlySpan<uint> clusters);
[System.Obsolete("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
public void AddPositionedRun (SkiaSharp.SKPaint font, ReadOnlySpan<ushort> glyphs, ReadOnlySpan<SkiaSharp.SKPoint> positions, ReadOnlySpan<byte> text, ReadOnlySpan<uint> clusters);

Parameters

font
SKPaint

The font to be used for this run.

glyphs
ReadOnlySpan<UInt16>

The glyphs for this run.

positions
ReadOnlySpan<SKPoint>

The positions of each glyph.

text
ReadOnlySpan<Byte>

The chacracter information for this run.

clusters
ReadOnlySpan<UInt32>

The glyph's cluster information.

Attributes

Remarks

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

Applies to