Draw an arc using Arcade in Python Last Updated : 03 Nov, 2021 Summarize Comments Improve Suggest changes Share Like Article Like Report The arcade library is a high-tech Python Package with an advanced set of tools for making 2D games with gripping graphics and sound. It is Object-oriented and is specially built for Python 3.6 and above versions. Arcade has two inbuilt functions for drawing arc: 1: arcade.draw_arc_outline ( ): This function is used to draw an arc which is useful for drawing curved lines Syntax: arcade.draw_arc_outline(center_x , center_y, width , height, color, start_angle, end_angle , border_width, tilt_angle, num_segments) Parameters: center_x : x position that is the center of the arc.center_y : y position that is the center of the arc.width : width of the arc.height : height of the arc.color : Outline color of the arc.start_angle : start angle of the arc in degrees.end_angle : end angle of the arc in degrees.border_width : width of line in pixels.tilt_angle : angle the arc is tilted.num_segments : Higher is the num of segments ,better is the quality . Let's see the below example:- Python3 import arcade # Open the window. Set the window title and # dimensions (width and height) arcade.open_window(600, 600, "Draw an arc for GfG ") arcade.set_background_color(arcade.color.WHITE) # Start the render process. arcade.start_render() arcade.draw_arc_outline(150, 81, 15, 36, arcade.color.BLACK, 90, 360) arcade.finish_render() arcade.run() Output: 2: arcade.draw_arc_filled( ): This function is used to draw a arc filled with color which are useful for drawing pie-wedges, or Pac-Man. Syntax: arcade.draw_arc_outline(center_x , center_y, width , height, color, start_angle, end_angle , tilt_angle, num_segments) Parameters: center_x : x position that is the center of the arc.center_y : y position that is the center of the arc.width : width of the arc.height : height of the arc.color : color to be filled in the arc.start_angle : start angle of the arc in degrees.end_angle : end angle of the arc in degrees.tilt_angle : angle the arc is tilted.num_segments : Number of line segments used to draw the arc. Let's take an example to get a clear picture of the functionality. Python3 # import arcade module import arcade # Open the window. Set the window title and # dimensions (width and height) arcade.open_window(600, 600, "Draw an arc for GfG ") # set a background color arcade.set_background_color(arcade.color.WHITE) # Start the render process. arcade.start_render() # function for drawing arc arcade.draw_arc_filled(150, 144, 85, 86, arcade.color.BOTTLE_GREEN, 90, 360, 45, 54) # finished drawing arcade.finish_render() # to display everything arcade.run() Output: Comment More infoAdvertise with us Next Article Draw a circle using Arcade in Python3 A anshitaagarwal Follow Improve Article Tags : Python Python-Arcade Practice Tags : python Similar Reads Draw a circle using Arcade in Python3 The arcade library is a high-tech Python Package with advanced set of tools for making 2D games with gripping graphics and sound. It is Object-oriented and is especially built for Python 3.6 and above versions. Arcade inbuilt functions to draw circle :- 1. arcade.draw_circle_outline( ) : This functi 3 min read Draw a triangle using Arcade in Python Arcade is a Python library that is used for developing 2Dimensional Games. Arcade needs support for OpenGL 3.3+. In the arcade, basic drawing does not require knowledge on how to define functions or classes or how to do loops, simply we have inbuilt functions for drawing primitives. Arcade inbuilt f 2 min read Draw a parabola using Arcade in Python3 Arcade is a Python library which is used for developing 2Dimensional Games. Arcade needs support for OpenGL 3.3+. In arcade, basic drawing does not require knowledge on how to define functions or classes or how to do loops, simply we have inbuilt functions for drawing primitives. Arcade inbuilt func 3 min read Draw a sun using arcade library Python You might have drawn Sun using famous Python module like turtle but here we discuss how the same approach can be achieved using arcade module. The Arcade library is a modern Python Module used widely for developing 2D video games with compelling graphics and sound. Arcade is an object-oriented libra 2 min read Draw a tree using arcade library in Python Drawing a tree isn't a tough task in Python using the turtle module. But, what if you can draw it using Arcade Module as well. Arcade is an object-oriented library. It can be installed like any other Python Package using an import arcade. Approach: Import arcade.Define a function to draw trees. Here 3 min read Draw an ellipse using Arcade library in Python Prerequisite: Arcade Library The Arcade library is a modern Python Module used for developing 2D video games with enthralling graphics and sound. It is an object-oriented library. It can be installed like any other Python Package in your IDE. Arcade Module has two inbuilt functions for drawing an e 3 min read Like