CanvasDrawingSession.DrawLine Method (Single, Single, Single, Single, Color, Single) |
Draws a line of the specified width and color.
Namespace:
Microsoft.Graphics.Canvas
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntaxpublic void DrawLine(
float x0,
float y0,
float x1,
float y1,
Color color,
float strokeWidth
)
Parameters
- x0
- Type: System.Single
- y0
- Type: System.Single
- x1
- Type: System.Single
- y1
- Type: System.Single
- color
- Type: Windows.UI.Color
- strokeWidth
- Type: System.Single
See Also