(self, context, text="", halign="center", valign="center")
Constructs a new instance that will draw the given `text` on
        the given Cairo `context`.
Constructs a new instance that will draw the given `text` on
        the given Cairo `context`.
Constructs a new instance that will draw the given text on the given Cairo context .
def __init__(self, context, text="", halign="center", valign="center"):
        """Constructs a new instance that will draw the given `text` on
        the given Cairo `context`."""
        super().__init__(context, (0, 0))
        self.text = text
        self.halign = halign
        self.valign = valign
def __init__ ( self , context , text = "" , halign = "center" , valign = "center" ) : super ( ) . __init__ ( context , ( 0 , 0 ) ) self . text = text self . halign = halign self . valign = valign