(cls, shape, default=NullDrawer)
return cls.known_shapes.get(shape, default)
Given a shape name, returns the corresponding shape drawer class
        or the given default shape drawer if the shape name is unknown.

        @param shape: the name of the shape
        @param default: the default shape drawer to return when the shape
          is unknown
        @return: the shape drawer class corresponding to the given name or
          the default shape drawer class if the name is unknown
Given a shape name, returns the corresponding shape drawer class
        or the given default shape drawer if the shape name is unknown.
Given a shape name returns the corresponding shape drawer class or the given default shape drawer if the shape name is unknown .
def resolve_default(cls, shape, default=NullDrawer):
        """Given a shape name, returns the corresponding shape drawer class
        or the given default shape drawer if the shape name is unknown.

        @param shape: the name of the shape
        @param default: the default shape drawer to return when the shape
          is unknown
        @return: the shape drawer class corresponding to the given name or
          the default shape drawer class if the name is unknown
        """
        return cls.known_shapes.get(shape, default)
def resolve_default ( cls , shape , default = NullDrawer ) : return cls . known_shapes . get ( shape , default )