LayMeshDocs
中文

Manual

Full source
manual.lay
p = canvas(size=(100mm,65mm),background="#eef1f5")v = p.add(video(src="controls.mp4"),size=(80mm,45mm),offset=(10mm,8mm))p.add(text("Manual video: no play binding",font_size=3mm),offset=(10mm,57mm))

Preview

Background
Preparing preview…
Manual
Preparing preview…
Total —
Details

Not run yet

Measured in this browser; excludes debounce.

Edits stay on this page
Dependencies
  • examples/media/controls.mp4
  • examples/media/manual.lay

Reproduce

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