Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Draws a line on the drawing surface.
Namespace: Microsoft.SPOT.Presentation.Media
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Sub DrawLine ( _
pen As Pen, _
x0 As Integer, _
y0 As Integer, _
x1 As Integer, _
y1 As Integer _
)
public void DrawLine(
Pen pen,
int x0,
int y0,
int x1,
int y1
)
public:
void DrawLine(
Pen^ pen,
int x0,
int y0,
int x1,
int y1
)
member DrawLine :
pen:Pen *
x0:int *
y0:int *
x1:int *
y1:int -> unit
public function DrawLine(
pen : Pen,
x0 : int,
y0 : int,
x1 : int,
y1 : int
)
Parameters
- pen
Type: Microsoft.SPOT.Presentation.Media. . :: . .Pen
The pen with which the line is to be drawn.
- x0
Type: System. . :: . .Int32
The horizontal coordinate of the line's starting point.
- y0
Type: System. . :: . .Int32
The vertical coordinate of the line's starting point.
- x1
Type: System. . :: . .Int32
The horizontal coordinate of the line's ending point.
- y1
Type: System. . :: . .Int32
The vertical coordinate of the line's ending point.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.