SKTextBlobBuilder.AddPositionedRun Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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.
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.
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
- glyphs
- ReadOnlySpan<UInt16>
- 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.