편집

다음을 통해 공유


SKTextBlobBuilder.AddHorizontalRun Method

Definition

Overloads

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

Adds a new horizontally-positioned run to the builder.

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

Adds a new horizontally-positioned run to the builder.

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

Adds a new horizontally-positioned run to the builder.

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

Adds a new horizontally-positioned run to the builder.

AddHorizontalRun(SKPaint, Single, ReadOnlySpan<UInt16>, ReadOnlySpan<Single>, ReadOnlySpan<Byte>, ReadOnlySpan<UInt32>)
Obsolete.

Adds a new horizontally-positioned run to the builder.

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

Adds a new horizontally-positioned run to the builder.

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

Adds a new horizontally-positioned run to the builder.

AddHorizontalRun(ReadOnlySpan<UInt16>, SKFont, ReadOnlySpan<Single>, Single)
AddHorizontalRun(SKPaint, Single, UInt16[], Single[])
Obsolete.

Adds a new horizontally-positioned run to the builder.

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

Adds a new horizontally-positioned run to the builder.

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

Adds a new horizontally-positioned run to the builder.

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

Caution

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

Adds a new horizontally-positioned run to the builder.

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

Parameters

font
SKPaint

The font to be used for this run.

y
Single

The vertical offset within the blob.

glyphs
UInt16[]

The glyphs for this run.

positions
Single[]

The horizontal 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

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

Caution

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

Adds a new horizontally-positioned run to the builder.

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

Parameters

font
SKPaint

The font to be used for this run.

y
Single

The vertical offset within the blob.

glyphs
UInt16[]

The glyphs for this run.

positions
Single[]

The horizontal 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

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

Caution

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

Adds a new horizontally-positioned run to the builder.

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

Parameters

font
SKPaint

The font to be used for this run.

y
Single

The vertical offset within the blob.

glyphs
ReadOnlySpan<UInt16>

The glyphs for this run.

positions
ReadOnlySpan<Single>

The horizontal 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

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

Caution

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

Adds a new horizontally-positioned run to the builder.

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

Parameters

font
SKPaint

The font to be used for this run.

y
Single

The vertical offset within the blob.

glyphs
UInt16[]

The glyphs for this run.

positions
Single[]

The horizontal 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

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

Caution

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

Adds a new horizontally-positioned run to the builder.

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

Parameters

font
SKPaint

The font to be used for this run.

y
Single

The vertical offset within the blob.

glyphs
ReadOnlySpan<UInt16>

The glyphs for this run.

positions
ReadOnlySpan<Single>

The horizontal 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

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

Caution

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

Adds a new horizontally-positioned run to the builder.

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

Parameters

font
SKPaint

The font to be used for this run.

y
Single

The vertical offset within the blob.

glyphs
UInt16[]

The glyphs for this run.

positions
Single[]

The horizontal 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

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

Caution

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

Adds a new horizontally-positioned run to the builder.

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

Parameters

font
SKPaint

The font to be used for this run.

y
Single

The vertical offset within the blob.

glyphs
ReadOnlySpan<UInt16>

The glyphs for this run.

positions
ReadOnlySpan<Single>

The horizontal 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

AddHorizontalRun(ReadOnlySpan<UInt16>, SKFont, ReadOnlySpan<Single>, Single)

public void AddHorizontalRun (ReadOnlySpan<ushort> glyphs, SkiaSharp.SKFont font, ReadOnlySpan<float> positions, float y);

Parameters

font
SKFont
positions
ReadOnlySpan<Single>
y
Single

Applies to

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

Caution

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

Adds a new horizontally-positioned run to the builder.

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

Parameters

font
SKPaint

The font to be used for this run.

y
Single

The vertical offset within the blob.

glyphs
UInt16[]

The glyphs for this run.

positions
Single[]

The horizontal positions of each glyph.

Attributes

Remarks

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

Applies to

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

Caution

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

Adds a new horizontally-positioned run to the builder.

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

Parameters

font
SKPaint

The font to be used for this run.

y
Single

The vertical offset within the blob.

glyphs
ReadOnlySpan<UInt16>

The glyphs for this run.

positions
ReadOnlySpan<Single>

The horizontal positions of each glyph.

Attributes

Remarks

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

Applies to

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

Caution

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

Adds a new horizontally-positioned run to the builder.

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

Parameters

font
SKPaint

The font to be used for this run.

y
Single

The vertical offset within the blob.

glyphs
UInt16[]

The glyphs for this run.

positions
Single[]

The horizontal 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