v0.1.0-alpha
官网Home
components/vectorpath
实验与能力验证Labs · 60 / 64

VectorPath

ui.path

矢量路径几何:描边、填充与命中。Vector path geometry: stroke, fill and hit-testing.

BEHAVIOR CONTRACT

路径几何在 GPU 上渲染,命中测试与绘制共用同一几何。Paths render on the GPU; hit-testing uses the same geometry.

RECORDED INTERACTION

录像扫过各类路径。Sweeps the paths.

在 GitHub 查看源码View source on GitHubexamples/storybook/stories.zig:3272

这是 Storybook 中该 story 的原样代码(zenit 5f9add5+wip 2026-09-30)。其中 W 即 ui.widgets,col / row / label 是 Storybook 内的布局小工具。The story's verbatim source from the Storybook (zenit 5f9add5+wip 2026-09-30). W is ui.widgets; col / row / label are small Storybook layout helpers.

zenit · 双授权Dual-licensed开源项目可按 GPL-3.0-only 免费使用;闭源或商业产品需要商业授权。Free for open-source projects under GPL-3.0-only; closed-source or commercial products need a commercial license.可联系作者:Contact the author: zongyi.xzy#gmail.com(# 换成 @) (replace # with @)zenit 5f9add5+wip 2026-09-30