método calculate_text_size

calculate_text_size(self)

Recalcular el área de texto

Devoluciones

Tamaño del texto en una matriz (ancho y alto).


def calculate_text_size(self):
    ...

Ejemplo


# The size of the text area is:w=size[0],h=size[1]
size = shape.calculate_text_size()

Ver también