Draw a convex polygon using the specific color and thickness

C# | Visual Basic | Visual C++ |
public virtual void Draw( IConvexPolygonF polygon, TColor color, int thickness )
Public Overridable Sub Draw ( _ polygon As IConvexPolygonF, _ color As TColor, _ thickness As Integer _ )
public: virtual void Draw( IConvexPolygonF^ polygon, TColor color, int thickness )

- polygon (IConvexPolygonF)
- 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