Skip to content

星形

⚠️ 此文档由代码自动生成,请勿手动编辑。 最近测试时间:2026-03-07 20:20:21

星形形状,使用 SDF 渲染。

支持状态: ✅ 完全支持

  • 尺寸 (size): ✅ 已支持 (星形的宽度和高度)

关联测试文件:

  • basic/shape/shape.amproj

技术细节与实现

XML 示例

xml
<shape s=".star">
    <property name="size" type="vec2" value="100.0,100.0" />
</shape>

Released under the MIT License.