Cool Graphics Example In Visual Basic 2008Visual Basic 2008 - cool Graphics Example. Just a tutorial on how to draw gradients and text in Visual Basic 2008. Heres the code: Dim myRectangle As New Drawing.Rectangle(0, 0, Width, Height) Dim myGradient As New Drawing2D.LinearGradientBrush(myRectangle, Color.Green, Color.GreenYellow, 50, True) e.Graphics.FillRectangle(myGradient, 0, 0, Width, Height) Dim fontObj As Font = New System.Drawing.Font("Times", 24, FontStyle.Bold) e.Graphics.DrawString("Environmentalnerd", fontObj, Brushes.DarkGreen, 0, 100) Soz i haven't done tutorials in a while :\ been busy, but I can do more tutorials now :) code pour embarquer la vidéo : >>> http://www.youtube.com/embed/WXWy8gKcTvE <<< |