'Set the vertical alignment
ACCEPTS: [ \'center\' | \'top\' | \'bottom\' | \'baseline\' ]'

def set_verticalalignment(self, align):

    legal = (u'top', u'bottom', u'center', u'baseline')
    if (align not in legal):
        raise ValueError((u'Vertical    alignment    must    be    one    of    %s' % str(legal)))
    self._verticalalignment = align
    self.stale = True
