code: def _getink(self, ink, fill=None):
      if ink is None and fill is None:
          if self.fill:
              fill = self.ink
          else:
              ink = self.ink
      else:
          if ink is not None:
              if isStringType(ink):
                  ink = ImageColor.getcolor(ink, self.mode)
              if self.palette and not isinstance(ink, numbers.Number):
                  ink = self.palette.getcolor(ink)
              ink = self.draw.draw_ink(ink)
          if fill is not None:
              if isStringType(fill):
                  fill = ImageColor.getcolor(fill, self.mode)
              if self.palette and not isinstance(fill, numbers.Number):
                  fill = self.palette.getcolor(fill)
              fill = self.draw.draw_ink(fill)
      return ink, fill
  
imports: import math
  import numbers
  from .None import Image, ImageColor
  from ._util import isStringType
label_desc: Use image node_id 3 for calling the ImageDraw obj's underlying member method code with example usage: obj._getink(ink, fill) and returns: ink,  fill