def METHOD_NAME(self, text, font):
    """
    Returns length (in pixels) of given text.
    This is the amount by which following text should be offset.
    .. seealso:: :py:meth:`PIL.ImageDraw.ImageDraw.textlength`
    """
    return self.draw.METHOD_NAME(text, font=font.font)