Draw a convex polygon using the specific color and thickness

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

- T
- The type of convex polygon to draw

- polygon (IConvexPolygon<(Of <(T>)>))
- The convex polygon to be drawn
- color (TColor)
- The color of the triangle
- thickness (Int32)
- If thickness is less than 1, the triangle is filled up