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 con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.