class_docstr: Resource string colorizer.
  
  Attributes:
    _con: ConsoleAttr object.
    _color: Color name.
    _string: The string to colorize.
    _justify: The justification function, no justification if None. For example,
      justify=lambda s: s.center(10)
class_docstr_tok: ["Resource","string","colorizer",".","Attributes",":","_con",":","ConsoleAttr","object",".","_color",":","Color","name",".","_string",":","The","string","to","colorize",".","_justify",":","The","justification","function",",","no","justification","if","None",".","For","example",",","justify=lambda","s",":","s.center","(","10",")"]
docstr: Renders the string as self._color on the console.
  
  Args:
    stream: The stream to render the string to. The stream given here *must*
      have the same encoding as sys.stdout for this to work properly.
    justify: The justification function, self._justify if None.
docstr_tok: ["Renders","the","string","as","self._color","on","the","console",".","Args",":","stream",":","The","stream","to","render","the","string","to",".","The","stream","given","here","*","must","*","have","the","same","encoding","as","sys.stdout","for","this","to","work","properly",".","justify",":","The","justification","function",",","self._justify","if","None","."]
code: def Render(self, stream, justify=None):
      """Renders the string as self._color on the console.
  
      Args:
        stream: The stream to render the string to. The stream given here *must*
          have the same encoding as sys.stdout for this to work properly.
        justify: The justification function, self._justify if None.
      """
      stream.write(
          self._con.Colorize(
              self._string, self._color, justify or self._justify
          )
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import unicode_literals
  import os
  import sys
  import unicodedata
  from fire.console import console_attr_os
  from fire.console import encoding
  from fire.console import text
  import six
label_desc: Use image node_id 10 for calling the Colorizer obj's underlying member method code with example usage: obj.Render(stream, justify) without return types