SKTextBlobBuilder.AddRun 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
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.
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.
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
- glyphs
- ReadOnlySpan<UInt16>
- 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
SkiaSharp