Wand text() function in Python Last Updated : 16 Mar, 2023 Comments Improve Suggest changes Like Article Like Report Text can also be added using wand.drawing object. text() function is used to add text in the Drawing object. It takes x and y coordinates and string that we want to write on (x, y) position. Syntax : wand.drawing.text(x, y, body) Parameters : ParameterInput TypeDescriptionxnumbers.Integralthe baseline where to start writing text.ynumbers.Integralthe left offset where to start writing a text.bodybasestringthe body string to write. Example #1: Python3 # Import different modules of wand from wand.image import Image from wand.drawing import Drawing from wand.color import Color import math with Drawing() as draw: with Image(width = 200, height = 200, background = Color('lightgreen')) as image: draw.font = 'wandtests/assets/League_Gothic.otf' draw.font_size = 10 draw.text(image.width / 2, image.height / 2, 'GeeksForGeeks') draw(image) image.save(filename = "text.png") Output: Example #2: Python3 # Import different modules of wand from wand.image import Image from wand.drawing import Drawing from wand.color import Color import math with Drawing() as draw: with Image(filename = "gog.png") as image: draw.font = 'wandtests / assets / League_Gothic.otf' draw.font_size = 10 draw.text(image.width / 2, image.height / 2, 'GeeksForGeeks') draw(image) image.save(filename = "text.png") Output : Comment More infoAdvertise with us Next Article Wand flip() function in Python R RahulSabharwal Follow Improve Article Tags : Python Python-wand Practice Tags : python Similar Reads Wand rectangle() function in Python rectangle() function, as the name describes this function is used to draw a circle using wand.drawing object in Python. rectangle takes many arguments like left, top, right, bottom, width, height etc. Syntax : wand.drawing.rectangle(left, top, right, bottom, width, height, radius, xradius, yradius) 2 min read Wand path_start() function in Python We can also draw paths in wand.drawing module. Each path method expects a destination point, and will draw from the current point to the new point. The destination point will become the new current point for the next applied path method. Paths in wand consist of some other methods to draw different 1 min read Wand arc() function in Python arc() is a function present in wand.drawing module. arc() function draws an arc in the image. Youâll need to define three pairs of (x, y) coordinates. First & second pair of coordinates will be the minimum bounding rectangle, and the last pair define the starting & ending degree. Syntax : wa 2 min read Wand line() function in Python line() is another drawing function present in wand.drawing module. As the name implies line() function is used to draw a line in the image. line() function only need two arguments that are start and end point of the line that we want to draw. Syntax : wand.drawing.line(start, end) Parameters : Param 2 min read Wand flip() function in Python In this article we will learn what is flip() function. Basically this function returns a flipped image. Flip effect flips an image upside-down or creates an vertical reflection of image. No arguments are needed in this function. Syntax : wand.image.flip()Parameters : No Parameters in flip() function 1 min read Wand wave() function in Python wave() function creates a wave like structure from top and bottom of the image. Creates a ripple effect within the image. We can change wavelength as well as amplitude of the image using amplitude & wave_length parameters in wave() function. Syntax : wand.image.wave(amplitude, wave_length) Param 1 min read Like