Share via


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

See Also

Reference

Line Class

Line Overload

Microsoft.SPOT.Presentation.Shapes Namespace