📜  brython svg - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:55.841000             🧑  作者: Mango

代码示例3
from browser import document, svg

star = svg.polygon(fill="red", stroke="blue", stroke_width="10",
                   points=""" 75,38  90,80  135,80  98,107
                             111,150 75,125  38,150 51,107
                              15,80  60,80""")

panel = document['panel4']
panel <= star