Line Constructor (Int32, Int32)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the Line class with the specified horizontal and vertical distances.
Namespace: Microsoft.SPOT.Presentation.Shapes
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Sub New ( _
dx As Integer, _
dy As Integer _
)
public Line(
int dx,
int dy
)
public:
Line(
int dx,
int dy
)
new :
dx:int *
dy:int -> Line
public function Line(
dx : int,
dy : int
)
Parameters
- dx
Type: System. . :: . .Int32
The horizontal distance of the line. That is, this value is the distance between the line's starting and ending x-coordinates.
- dy
Type: System. . :: . .Int32
The vertical distance of the line. That is, this value is the distance between the line's starting and ending y-coordinates.
.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.