class_docstr: load and select cursors based on the key press
      
docstr: Get the drawstate enum pair based on the key press
  
  Args:
      key (string): key text (can be combined - e.g. ctrl+r)
  
  Returns:
      [tuple[DrawingMode, DrawingShape]]: the mode and shape triggered by the key
docstr_tok: ["Get","the","drawstate","enum","pair","based","on","the","key","press","Args",":","key","(","string",")",":","key","text","(","can","be","combined","-","e.g",".","ctrl+r",")","Returns",":","[","tuple","[","DrawingMode",",","DrawingShape","]","]",":","the","mode","and","shape","triggered","by","the","key"]
code: def get_drawstate(cls, key):
      """Get the drawstate enum pair based on the key press
  
      Args:
          key (string): key text (can be combined - e.g. ctrl+r)
  
      Returns:
          [tuple[DrawingMode, DrawingShape]]: the mode and shape triggered by the key
      """
      return cls.key_to_drawstate.get(
          key, (DrawingMode.NoDraw, DrawingShape.NoShape)
      )
  
file_path: nptsne/demos/ExtendedHSNEDemo/cursors.py
imports: from enum import Enum
  from PyQt5.QtGui import QCursor, QPixmap
  from PyQt5.QtCore import Qt
label_desc: Use image node_id 2 for calling the DrawingCursors obj's underlying member method code with example usage: obj.get_drawstate(cls, key) and returns: cls