pub fn add_arc2f(
pos_x: f32,
pos_y: f32,
radius: f32,
start_angle: f32,
end_angle: f32,
resolution: i32
)
Expand description
Adds an arc to the current frame.
Arguments
pos_x
- Af32
representing the x-coordinate of the center of the arc.pos_y
- Af32
representing the y-coordinate of the center of the arc.radius
- Af32
representing the radius of the arc.start_angle
- Af32
representing the starting angle of the arc in radians.end_angle
- Af32
representing the ending angle of the arc in radians.resolution
- Ani32
representing the number of segments used to approximate the arc.