LayMeshDocs
中文

Cubic_To

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

Preview

Background
Cubic_To
Original example
Total —
Details

Not run yet

Measured in this browser; excludes debounce.

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

Reproduce

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