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





pen
Pen color and width
x
Left of bounding rectangle for entire Ellipse.
y
Top of bounding rectangle for entire Ellipse.
width
Width of bounding rectangle for entire Ellipse.
height
Height of bounding rectangle for entire Ellipse.
startAngle
Starting angle for segment of Ellipse
sweepAngle
End angle for end of segment of Ellipse

Glossary Item Box

Draw an arc.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub DrawArc( _
   ByVal pen As System.Drawing.Pen, _
   ByVal x As System.Single, _
   ByVal y As System.Single, _
   ByVal width As System.Single, _
   ByVal height As System.Single, _
   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 x As System.Single
Dim y As System.Single
Dim width As System.Single
Dim height As System.Single
Dim startAngle As System.Single
Dim sweepAngle As System.Single
 
instance.DrawArc(pen, x, y, width, height, startAngle, sweepAngle)
C# 
public void DrawArc( 
   System.Drawing.Pen pen,
   System.float x,
   System.float y,
   System.float width,
   System.float height,
   System.float startAngle,
   System.float sweepAngle
)
JScript 
public function DrawArc( 
   pen : System.Drawing.Pen,
   x : System.float,
   y : System.float,
   width : System.float,
   height : System.float,
   startAngle : System.float,
   sweepAngle : System.float
);
Managed Extensions for C++ 
public: void DrawArc( 
   System.Drawing.Pen* pen,
   System.float x,
   System.float y,
   System.float width,
   System.float height,
   System.float startAngle,
   System.float sweepAngle
) 
C++/CLI 
public:
void DrawArc( 
   System.Drawing.Pen^ pen,
   System.float x,
   System.float y,
   System.float width,
   System.float height,
   System.float startAngle,
   System.float sweepAngle
) 

Parameters

pen
Pen color and width
x
Left of bounding rectangle for entire Ellipse.
y
Top of bounding rectangle for entire Ellipse.
width
Width of bounding rectangle for entire Ellipse.
height
Height of bounding rectangle for entire Ellipse.
startAngle
Starting angle for segment of Ellipse
sweepAngle
End angle for end of segment of Ellipse

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.