LayMesh文档
EN

Arrow Style

完整源码
arrow-style.lay
page=canvas(size=(100mm,65mm),background="#eef3f9")style { arrow.demo {  fill:#087f8c; border-color:#ffffff; border-width:0.5mm;  shaft-width:[(0,2mm),(0.5,5mm),(1,3mm)]; heads:both;  head-size:8mm 9mm; start-head-size:7mm 8mm; end-head-size:9mm 10mm;  effects:[shadow(blur=1mm,offset=(1mm,1mm))]; }}page.add(arrow(length=75mm,class="demo"),offset=(10mm,25mm))

预览

背景
正在准备预览…
Arrow Style
正在准备预览…
合计 —
详情

尚未运行

本设备浏览器实测;不含防抖等待。

修改仅保留在本页
依赖文件
  • examples/manual/arrow-style.lay

复现

sh
laymesh validate examples/manual/arrow-style.laylaymesh render examples/manual/arrow-style.lay -o figure.svglaymesh render examples/manual/arrow-style.lay -o figure.pdflaymesh render examples/manual/arrow-style.lay -o figure.png --dpi 300