class_docstr: Fast and failsafe text console
  
  Parameters
  ----------
  text_color : instance of Color
      Color to use.
  font_size : float
      Point size to use.
docstr: Resize event handler
  
  Parameters
  ----------
  event : instance of Event
      The event.
docstr_tok: ["Resize","event","handler","Parameters","--","--","--","--","--","event",":","instance","of","Event","The","event","."]
code: def on_resize(self, event):
      """Resize event handler
  
      Parameters
      ----------
      event : instance of Event
          The event.
      """
      self._visual.size = self.size
  
imports: import numpy
  from .widget import Widget
  from ...visuals import Visual
  from ...gloo import VertexBuffer
  from ...color import Color
label_desc: Use image node_id 2 for calling the Console obj's underlying member method code with example usage: obj.on_resize(event) without return types