class_docstr: PIL font wrapper
docstr: Returns width and height (in pixels) of given text.
  
  :param text: Text to measure.
  
  :return: (width, height)
docstr_tok: ["Returns","width","and","height","(","in","pixels",")","of","given","text",".",":","param","text",":","Text","to","measure",".",":","return",":","(","width",",","height",")"]
code: def getsize(self, text, *args, **kwargs):
      """
      Returns width and height (in pixels) of given text.
  
      :param text: Text to measure.
  
      :return: (width, height)
      """
      return self.font.getsize(text)
  
imports: import os
  import sys
  from .None import Image
  from ._util import isDirectory, isPath, py3
label_desc: Use image node_id 3 for calling the ImageFont obj's underlying member method code with example usage: obj.getsize(text) and returns: self