Share via


Shape Constructor ()

 

Initializes a new instance of the Shape class.

Namespace:   Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

protected Shape()
protected:
Shape()
new : unit -> Shape
Protected Sub New

Remarks

The Shape class is the base class for all shapes used in Windows Forms applications. Because this class is not typically used to create an instance of the class, this constructor is typically not called directly but is instead called by a derived class.

See Also

Shape Overload
Shape Class
Microsoft.VisualBasic.PowerPacks Namespace
How to: Draw Lines with the LineShape Control (Visual Studio)
How to: Draw Shapes with the OvalShape and RectangleShape Controls (Visual Studio)
Introduction to the Line and Shape Controls (Visual Studio)

Return to top