ImageMan.Net Version 3 Summer 2012 Release
DrawPie(Pen,Rectangle,Single,Single) Method
See Also  Send Feedback
DTI.ImageMan Namespace > ImGraphic Class > DrawPie Method : DrawPie(Pen,Rectangle,Single,Single) Method





pen
Pen color and width
rect
Bounding rectangle for entire Pie
startAngle
Starting angle for segment of Pie
sweepAngle
End angle for end of segment of Pie

Glossary Item Box

Draw a section of a pie, may look like a slice of pie, or may look like a pie missing a slice.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub DrawPie( _
   ByVal pen As System.Drawing.Pen, _
   ByVal rect As System.Drawing.Rectangle, _
   ByVal startAngle As System.Single, _
   ByVal sweepAngle As System.Single _
) 
Visual Basic (Usage)Copy Code
Dim instance As ImGraphic
Dim pen As System.Drawing.Pen
Dim rect As System.Drawing.Rectangle
Dim startAngle As System.Single
Dim sweepAngle As System.Single
 
instance.DrawPie(pen, rect, startAngle, sweepAngle)
C# 
public void DrawPie( 
   System.Drawing.Pen pen,
   System.Drawing.Rectangle rect,
   System.float startAngle,
   System.float sweepAngle
)
JScript 
public function DrawPie( 
   pen : System.Drawing.Pen,
   rect : System.Drawing.Rectangle,
   startAngle : System.float,
   sweepAngle : System.float
);
Managed Extensions for C++ 
public: void DrawPie( 
   System.Drawing.Pen* pen,
   System.Drawing.Rectangle rect,
   System.float startAngle,
   System.float sweepAngle
) 
C++/CLI 
public:
void DrawPie( 
   System.Drawing.Pen^ pen,
   System.Drawing.Rectangle rect,
   System.float startAngle,
   System.float sweepAngle
) 

Parameters

pen
Pen color and width
rect
Bounding rectangle for entire Pie
startAngle
Starting angle for segment of Pie
sweepAngle
End angle for end of segment of Pie

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.