class_docstr: FreeType font wrapper (requires _imagingft service)
docstr: Returns the offset of given text. This is the gap between the
  starting coordinate and the first marking. Note that this gap is
  included in the result of :py:func:`~PIL.ImageFont.FreeTypeFont.getsize`.
  
  :param text: Text to measure.
  
  :return: A tuple of the x and y offset
docstr_tok: ["Returns","the","offset","of","given","text",".","This","is","the","gap","between","the","starting","coordinate","and","the","first","marking",".","Note","that","this","gap","is","included","in","the","result","of",":","py",":","func",":","`","~PIL.ImageFont.FreeTypeFont.getsize","`",".",":","param","text",":","Text","to","measure",".",":","return",":","A","tuple","of","the","x","and","y","offset"]
code: def getoffset(self, text):
      """
      Returns the offset of given text. This is the gap between the
      starting coordinate and the first marking. Note that this gap is
      included in the result of :py:func:`~PIL.ImageFont.FreeTypeFont.getsize`.
  
      :param text: Text to measure.
  
      :return: A tuple of the x and y offset
      """
      return self.font.getsize(text)[1]
  
imports: import os
  import sys
  from .None import Image
  from ._util import isDirectory, isPath, py3
label_desc: Use image node_id 7 for calling the FreeTypeFont obj's underlying member method code with example usage: obj.getoffset(text) and returns: self