CanvasDrawingSessionDrawLine Method (Single, Single, Single, Single, Color, Single, CanvasStrokeStyle) |
Draws a line of the specified width and color, with a custom stroke style.
Namespace:
Microsoft.Graphics.Canvas
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax public void DrawLine(
float x0,
float y0,
float x1,
float y1,
Color color,
float strokeWidth,
CanvasStrokeStyle strokeStyle
)
Parameters
- x0
- Type: SystemSingle
- y0
- Type: SystemSingle
- x1
- Type: SystemSingle
- y1
- Type: SystemSingle
- color
- Type: Windows.UIColor
- strokeWidth
- Type: SystemSingle
- strokeStyle
- Type: Microsoft.Graphics.Canvas.GeometryCanvasStrokeStyle
See Also