Graphics.FillPie : Graphics « 2D Graphics « VB.Net Tutorial

VB.Net Tutorial
1. Language Basics
2. Data Type
3. Operator
4. Statements
5. Date Time
6. Class Module
7. Development
8. Collections
9. Generics
10. Attributes
11. Event
12. Stream File
13. GUI
14. GUI Applications
15. 2D Graphics
16. I18N Internationlization
17. Reflection
18. Regular Expressions
19. Security
20. Socket Network
21. Thread
22. Windows
23. XML
24. Database ADO.net
25. Design Patterns
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial » 2D Graphics » Graphics 
15. 40. 23. Graphics.FillPie
Graphics.FillPie
 

Imports System.Drawing
Imports System.Drawing.Drawing2D
Imports System.Windows.Forms

public class FillPie
   public Shared Sub Main
        Application.Run(New Form1)
   End Sub
End class

public class Form1
  Inherits System.Windows.Forms.Form

  Protected Overrides Sub OnPaint(ByVal e As PaintEventArgs)
        ' Drawing a Pie
     Dim As Graphics = e.Graphics
     g.FillPie(New SolidBrush(Color.Red)0.0F0.0F100600.0F90.0F)
  End Sub

  Public Sub New()
   
    MyBase.New()
    Me.AutoScaleBaseSize = New System.Drawing.Size(513)
    Me.ClientSize = New System.Drawing.Size(292273)
    Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen

  End Sub

End Class

        
15. 40. Graphics
15. 40. 1. Create Graphics from HandleCreate Graphics from Handle
15. 40. 2. Create Graphics object from System.Windows.Forms.PaintEventArgsCreate Graphics object from System.Windows.Forms.PaintEventArgs
15. 40. 3. Graphics.DpiXGraphics.DpiX
15. 40. 4. Graphics: clear backgroundGraphics: clear background
15. 40. 5. Graphics.DrawArcGraphics.DrawArc
15. 40. 6. Graphics.DrawBeziersGraphics.DrawBeziers
15. 40. 7. Graphics.DrawClosedCurveGraphics.DrawClosedCurve
15. 40. 8. Graphics.DrawCurveGraphics.DrawCurve
15. 40. 9. Graphics.DrawEllipse MethodGraphics.DrawEllipse Method
15. 40. 10. Use Graphics.DrawEllipse to draw a circleUse Graphics.DrawEllipse to draw a circle
15. 40. 11. Graphics.DrawIconGraphics.DrawIcon
15. 40. 12. Graphics.DrawIconUnstretchedGraphics.DrawIconUnstretched
15. 40. 13. Graphics.DrawImageGraphics.DrawImage
15. 40. 14. Graphics.DrawLinesGraphics.DrawLines
15. 40. 15. Graphics.DrawPathGraphics.DrawPath
15. 40. 16. Graphics.DrawPieGraphics.DrawPie
15. 40. 17. Graphics.DrawPolygonGraphics.DrawPolygon
15. 40. 18. Graphics.DrawStringGraphics.DrawString
15. 40. 19. Graphics.ExcludeClipGraphics.ExcludeClip
15. 40. 20. Graphics.FillClosedCurveGraphics.FillClosedCurve
15. 40. 21. Graphics.FillEllipseGraphics.FillEllipse
15. 40. 22. Graphics.FillPathGraphics.FillPath
15. 40. 23. Graphics.FillPieGraphics.FillPie
15. 40. 24. Graphics.FillPolygon
15. 40. 25. Graphics.FillRectangleGraphics.FillRectangle
15. 40. 26. Graphics.FillRectanglesGraphics.FillRectangles
15. 40. 27. Graphics.IntersectClipGraphics.IntersectClip
15. 40. 28. Graphics.MeasureStringGraphics.MeasureString
15. 40. 29. Graphics.ReleaseHdcGraphics.ReleaseHdc
15. 40. 30. Graphics.ResetClipGraphics.ResetClip
15. 40. 31. Graphics.SetClipGraphics.SetClip
ww__w_._java__2_s___.__co___m_ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.