class_docstr: Wrapper for writing rotated or mirrored text
class_docstr_tok: ["Wrapper","for","writing","rotated","or","mirrored","text"]
code: def getmask(self, text, mode="", *args, **kwargs):
      im = self.font.getmask(text, mode, *args, **kwargs)
      if self.orientation is not None:
          return im.transpose(self.orientation)
      return im
  
imports: import base64
  import os
  import sys
  import warnings
  from enum import IntEnum
  from io import BytesIO
  from .None import Image
  from ._util import is_directory, is_path
label_desc: Use image node_id 2 for calling the TransposedFont obj's underlying member method code with example usage: obj.getmask(text, mode) and returns: im, im