GraphicsPathExtensionsAddArc Method |
Adds an arc to the path at the specified location
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static void AddArc(
this IGraphicsPath path,
RectangleF location,
float startAngle,
float sweepAngle
)
<ExtensionAttribute>
Public Shared Sub AddArc (
path As IGraphicsPath,
location As RectangleF,
startAngle As Single,
sweepAngle As Single
)
[<ExtensionAttribute>]
static member AddArc :
path : IGraphicsPath *
location : RectangleF *
startAngle : float32 *
sweepAngle : float32 -> unit
Parameters
- path
- Type: Eto.DrawingIGraphicsPath
Path to add the arc to - location
- Type: Eto.DrawingRectangleF
Location of the bounding rectangle of the arc - startAngle
- Type: SystemSingle
Start angle in degrees - sweepAngle
- Type: SystemSingle
Sweep angle (positive or negative) in degrees
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IGraphicsPath. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also