Draw a line segment in the map

C# | Visual Basic | Visual C++ |
public override void Draw<T>( LineSegment2D<T> line, TColor color, int thickness ) where T : new(), IComparable
Public Overrides Sub Draw(Of T As {New, IComparable}) ( _ line As LineSegment2D(Of T), _ color As TColor, _ thickness As Integer _ )
public: generic<typename T> where T : gcnew(), IComparable virtual void Draw( LineSegment2D<T>^ line, TColor color, int thickness ) override

- T
- The type of the line

- line (LineSegment2D<(Of <(T>)>))
- The line to be draw
- color (TColor)
- The color for the line
- thickness (Int32)
- The thickness of the line