طريقة calculate_text_size

calculate_text_size(self)

إعادة حساب مساحة النص

عائدات

حجم النص في المصفوفة (العرض والارتفاع).


def calculate_text_size(self):
    ...

مثال


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

أنظر أيضا