SKCanvas.DrawLine 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
DrawLine(SKPoint, SKPoint, SKPaint) |
Draws a line on the canvas. |
DrawLine(Single, Single, Single, Single, SKPaint) |
Draws a line on the canvas. |
DrawLine(SKPoint, SKPoint, SKPaint)
DrawLine(Single, Single, Single, Single, SKPaint)
Draws a line on the canvas.
public void DrawLine (float x0, float y0, float x1, float y1, SkiaSharp.SKPaint paint);
Parameters
- x0
- Single
The first point x-coordinate.
- y0
- Single
The first point y-coordinate.
- x1
- Single
The second point x-coordinate.
- y1
- Single
The second point y-coordinate.
- paint
- SKPaint
The paint to use when drawing the line.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
SkiaSharp