Rectangle Inflate : Rectangle « 2D « VB.Net






Rectangle Inflate

Rectangle Inflate
Imports System
Imports System.Data
Imports System.Windows.Forms
Imports System.Drawing
Imports System.Drawing.Drawing2D
Imports System.Drawing.Printing


Public Class MainClass
    Shared Sub Main()
        Dim aBigBox As Rectangle = Rectangle.Inflate(New Rectangle(0,0,10,10), 6, 6)
        Console.WriteLine(aBigBox)
    End Sub
End Class





           
       








Related examples in the same category

1.Simple Pen and simple RectangleSimple Pen and simple Rectangle
2.Rectangle Shape ClassRectangle Shape Class
3.Fill a RectangleFill a Rectangle