Skip to content

Rounded Rectangle

⚠️ This documentation is auto-generated. Do not edit manually. Last tested: 2026-03-07 20:20:21

Rounded rectangle shape using SDF rendering.

Support Status: ✅ Fully Supported

  • Size (size): ✅ Supported (Width and height of the shape)
  • Roundness (roundness): ✅ Supported (Corner roundness (0.0-1.0))

Related Test Files:

  • basic/shape/shape.amproj

Technical Details

XML Example

xml
<shape s=".roundrect">
    <property name="size" type="vec2" value="200.0,100.0" />
    <property name="roundness" type="float" value="0.3" />
</shape>

Released under the MIT License.