'write text in the shape'

def _write_text(self, node, shape):

    tx_body = SubElement(node, 'cdr:txBody')
    SubElement(tx_body, 'a:bodyPr', {'xmlns:a': self.schema, 'vertOverflow': 'clip'})
    SubElement(tx_body, 'a:lstStyle', {'xmlns:a': self.schema})
    p = SubElement(tx_body, 'a:p', {'xmlns:a': self.schema})
    if shape.text:
        r = SubElement(p, 'a:r')
        rpr = SubElement(r, 'a:rPr', {'lang': 'en-US'})
        fill = SubElement(rpr, 'a:solidFill')
        SubElement(fill, 'a:srgbClr', {'val': shape.text_color})
        SubElement(r, 'a:t').text = shape.text
    else:
        SubElement(p, 'a:endParaRPr', {'lang': 'en-US'})
