LayMeshDocs
中文

Arrow Style

Full source
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))

Preview

Background
Preparing preview…
Arrow Style
Preparing preview…
Total —
Details

Not run yet

Measured in this browser; excludes debounce.

Edits stay on this page
Dependencies
  • examples/manual/arrow-style.lay

Reproduce

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