IGraphicsPath.AddArc Method |
Adds an arc into the specified rectangle
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntaxvoid AddArc(
float x,
float y,
float width,
float height,
float startAngle,
float sweepAngle
)
Sub AddArc (
x As Single,
y As Single,
width As Single,
height As Single,
startAngle As Single,
sweepAngle As Single
)
abstract AddArc :
x : float32 *
y : float32 *
width : float32 *
height : float32 *
startAngle : float32 *
sweepAngle : float32 -> unit
Parameters
- x
- Type: System.Single
The x coordinate of the upper left of the arc - y
- Type: System.Single
The y coordinate of the upper left of the arc - width
- Type: System.Single
Width of the rectangle containing the arc - height
- Type: System.Single
Height of the rectangle containing the arc - startAngle
- Type: System.Single
Start angle to begin the arc, in degrees - sweepAngle
- Type: System.Single
Sweep angle (positive or negative) to specify how long the arc is, in degrees
Remarks
If the current figure is not closed, it will connect with the start of the arc.
The current position will be moved to the ending point of the arc
See Also