SKCanvas.DrawPositionedText 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
DrawPositionedText(String, SKPoint[], SKPaint) |
Obsolete.
Draws glyphs of the text at specified locations on the canvas. |
DrawPositionedText(IntPtr, Int32, SKPoint[], SKPaint) |
Obsolete.
Draws text from a UTF-8 buffer at specified locations on the canvas. |
DrawPositionedText(Byte[], SKPoint[], SKPaint) |
Obsolete.
Draws glyphs of the text at specified locations on the canvas. |
DrawPositionedText(String, SKPoint[], SKPaint)
Caution
Use DrawText(SKTextBlob, float, float, SKPaint) instead.
Draws glyphs of the text at specified locations on the canvas.
public void DrawPositionedText (string text, SkiaSharp.SKPoint[] points, SkiaSharp.SKPaint paint);
[System.Obsolete("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
public void DrawPositionedText (string text, SkiaSharp.SKPoint[] points, SkiaSharp.SKPaint paint);
Parameters
- text
- String
The text to draw.
- points
- SKPoint[]
The positions for each glyph in the text
string.
- paint
- SKPaint
The paint to use when drawing the text.
- Attributes
Applies to
DrawPositionedText(IntPtr, Int32, SKPoint[], SKPaint)
Caution
Use DrawText(SKTextBlob, float, float, SKPaint) instead.
Draws text from a UTF-8 buffer at specified locations on the canvas.
public void DrawPositionedText (IntPtr buffer, int length, SkiaSharp.SKPoint[] points, SkiaSharp.SKPaint paint);
[System.Obsolete("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
public void DrawPositionedText (IntPtr buffer, int length, SkiaSharp.SKPoint[] points, SkiaSharp.SKPaint paint);
Parameters
- buffer
- IntPtr
The pointer to a region holding UTF-8 encoded text to draw.
- length
- Int32
The number of bytes to read from the buffer.
- points
- SKPoint[]
The positions for each glyph in the buffer.
- paint
- SKPaint
The paint to use when drawing the text.
- Attributes
Applies to
DrawPositionedText(Byte[], SKPoint[], SKPaint)
Caution
Use DrawText(SKTextBlob, float, float, SKPaint) instead.
Draws glyphs of the text at specified locations on the canvas.
public void DrawPositionedText (byte[] text, SkiaSharp.SKPoint[] points, SkiaSharp.SKPaint paint);
[System.Obsolete("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
public void DrawPositionedText (byte[] text, SkiaSharp.SKPoint[] points, SkiaSharp.SKPaint paint);
Parameters
- text
- Byte[]
The text to draw.
- points
- SKPoint[]
The positions for each glyph in the text
string.
- paint
- SKPaint
The paint to use when drawing the text.
- Attributes
Applies to
SkiaSharp
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示