LayMeshDocs
中文

Line_To

line_to.lay
# Minimal complete example: line_topage=canvas(size=(100mm,75mm),background="#ffffff")page.add(path(commands=[move_to(0mm,10mm),line_to(30mm,10mm)],border_color="#087f8c",border_width=1mm),offset=(10mm,10mm))

Preview

Background
Line_To
Original example
Total —
Details

Not run yet

Measured in this browser; excludes debounce.

Edits stay on this page
Dependencies
  • examples/manual/line_to.lay

Reproduce

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