LayMesh文档
EN

Outlines

outlines.lay
# Reusable PowerPoint-style outline presets; fill and outline are independent.page = canvas(name="LayMesh outlines", size=(180 mm, 110 mm), background="#ffffff")font = "DejaVu Sans" title = text(content="LayMesh  /  outlines", font_family=font, font_size=18 pt, color="#213047")page.add(title, target=page.top_left, offset=(10 mm, 7 mm))    card = rect(size=(42 mm, 22 mm), border_radius=3 mm, fill="#e7f6f6", border_color="#087f8c", border_width=1.8 mm, border_style= solid)page.add(card, target=page.top_left, offset=(10 mm, 30 mm))page.add(rect(size=(42 mm, 22 mm), border_radius=3 mm, fill="#e7f6f6", border_color="#087f8c", border_width=1.8 mm, border_style=double),         target=page.top_left, offset=(69 mm, 30 mm))

预览

背景
Outlines
原始示例
合计 —
详情

尚未运行

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

修改仅保留在本页
依赖文件
  • examples/outlines.lay

复现

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