ImageMan.Net Version 3 Summer 2012 Release
FillPie(Brush,Int32,Int32,Int32,Int32,Int32,Int32) Method
See Also  Send Feedback
DTI.ImageMan Namespace > ImGraphic Class > FillPie Method : FillPie(Brush,Int32,Int32,Int32,Int32,Int32,Int32) Method





brush
Brush color to fill in Pie.
x
Left of bounding rectangle for entire Pie.
y
Top of bounding rectangle for entire Pie.
width
Width of bounding rectangle for entire Pie.
height
Height of bounding rectangle for entire Pie.
startAngle
Starting angle for segment of Pie
sweepAngle
End angle for end of segment of Pie

Glossary Item Box

Fill in 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 FillPie( _
   ByVal brush As System.Drawing.Brush, _
   ByVal x As System.Integer, _
   ByVal y As System.Integer, _
   ByVal width As System.Integer, _
   ByVal height As System.Integer, _
   ByVal startAngle As System.Integer, _
   ByVal sweepAngle As System.Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As ImGraphic
Dim brush As System.Drawing.Brush
Dim x As System.Integer
Dim y As System.Integer
Dim width As System.Integer
Dim height As System.Integer
Dim startAngle As System.Integer
Dim sweepAngle As System.Integer
 
instance.FillPie(brush, x, y, width, height, startAngle, sweepAngle)
C# 
public void FillPie( 
   System.Drawing.Brush brush,
   System.int x,
   System.int y,
   System.int width,
   System.int height,
   System.int startAngle,
   System.int sweepAngle
)
JScript 
public function FillPie( 
   brush : System.Drawing.Brush,
   x : System.int,
   y : System.int,
   width : System.int,
   height : System.int,
   startAngle : System.int,
   sweepAngle : System.int
);
Managed Extensions for C++ 
public: void FillPie( 
   System.Drawing.Brush* brush,
   System.int x,
   System.int y,
   System.int width,
   System.int height,
   System.int startAngle,
   System.int sweepAngle
) 
C++/CLI 
public:
void FillPie( 
   System.Drawing.Brush^ brush,
   System.int x,
   System.int y,
   System.int width,
   System.int height,
   System.int startAngle,
   System.int sweepAngle
) 

Parameters

brush
Brush color to fill in Pie.
x
Left of bounding rectangle for entire Pie.
y
Top of bounding rectangle for entire Pie.
width
Width of bounding rectangle for entire Pie.
height
Height of 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.