def METHOD_NAME(element):
    width = float(element.get("width"))
    height = float(element.get("height"))
    x = float(element.get("x"))
    y = float(element.get("y"))
    fill = Color(get_style(element, "fill"))
    stroke_weight = get_style(element, "stroke-width")
    stroke = Color(get_style(element, "stroke"))
    stroke_cap = get_style(element, "stroke-cap")
    return PShape(
        vertices=[(x, y), (x + width, y), (x + width, y + height), (x, y + height)],
        children=[],
        fill_color=fill,
        stroke_weight=stroke_weight,
        stroke_color=stroke,
        stroke_cap=stroke_cap,
        stroke_join=default_values["stroke-join"],
    )