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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.