xtd 0.2.0
Loading...
Searching...
No Matches

◆ draw_arc() [1/4]

void xtd::drawing::graphics::draw_arc ( const xtd::drawing::pen pen,
const xtd::drawing::rectangle rect,
float  start_angle,
float  sweep_angle 
)

Draws an arc representing a portion of an ellipse specified by a xtd::drawing::rectangle structure.

Parameters
penxtd::drawing::pen that determines the color, width, and style of the arc.
rectxtd::drawing::rectangle structure that defines the boundaries of the ellipse.
start_angleAngle in degrees measured clockwise from the x-axis to the starting point of the arc.
sweep_angleAngle in degrees measured clockwise from the start_angle parameter to ending point of the arc.
Remarks
This method draws an arc that is a portion of the perimeter of an ellipse. The ellipse is defined by the boundaries of a rectangle. The arc is the portion of the perimeter of the ellipse between the start_angle parameter and the start_angle + sweep_angle parameters.