IGraphicsPathAddArc Method |
Adds an arc into the specified rectangle
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax void 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: SystemSingle
The x coordinate of the upper left of the arc - y
- Type: SystemSingle
The y coordinate of the upper left of the arc - width
- Type: SystemSingle
Width of the rectangle containing the arc - height
- Type: SystemSingle
Height of the rectangle containing the arc - startAngle
- Type: SystemSingle
Start angle to begin the arc, in degrees - sweepAngle
- Type: SystemSingle
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