Share via


DrawingContext.DrawLine Method

Draws a line on the drawing surface.

Namespace: Microsoft.SPOT.Presentation.Media
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

public void DrawLine (
         Penpen,
         intx0,
         inty0,
         intx1,
         inty1
)

Parameters

  • pen
    The pen with which the line is to be drawn.
  • x0
    The horizontal coordinate of the line's starting point.
  • y0
    The vertical coordinate of the line's starting point.
  • x1
    The horizontal coordinate of the line's ending point.
  • y1
    The vertical coordinate of the line's ending point.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

DrawingContext Class
DrawingContext Members
Microsoft.SPOT.Presentation.Media Namespace