def line_style(line_width=1,
               line_opacity=1,
               line_curve=0,
               line_type="solid",
               line_color=None,
               **kwargs):
    """

    :param line_width:
        Line width.
    :param line_opacity:
        Opacity of the component.
        Supports value from 0 to 1, and the component will not be drawn when set to 0.
    :param line_curve:
        Edge curvature, which supports value from 0 to 1.
        The larger the value, the greater the curvature. -> Graph
    :param line_type:
        Line type,it can be 'solid', 'dashed', 'dotted'
    :param line_color:
        color of line
    :param kwargs:
    :return:
    """
    _line_style = {
        "normal": {
            "width": line_width,
            "opacity": line_opacity,
            "curveness": line_curve,
            "type": line_type,
            "color": line_color
        }
    }
    return _line_style