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
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.