def METHOD_NAME(self, color, linewidth=1, alpha=1.0):
    # TODO: support line styles
    # if hasattr(self, 'linestyle'):
    #     if self.linestyle == 'dash':
    #         cr.set_dash([ 3.0, 4.0, 6.0, 4.0], 5.0)
    color = self.get_color(color, alpha=alpha)
    return Pen(color=color, linewidth=linewidth, alpha=alpha)