Rectangles
Round rect
"shape": "roundRect" draws PowerPoint's roundRect preset. The PPTX export writes it as a native shape with its adjust values, so it stays editable in PowerPoint.
Search words: rounded, rectangle, button, card, box
Frame
A shape block takes the largest frame of 1.5:1 (width to height) that fits its cell, centered; set aspectRatio for another. Text inside is fitted to the preset's text rectangle and never set below the readability floor.
Adjust Values
| Name | Default | Range |
|---|---|---|
| adj | 0.16667 | 0 to 0.5 |
OPF units: fractions (most often of the shorter side) and degrees, for example "adjust": { "adj": 0.16667 }.
OPF Config
{
"$schema": "https://openpresentation.org/schema/opf/v1",
"name": "PPTX.gallery — shapes/roundRect",
"description": "The roundRect preset as an OPF shape block.",
"slides": [
{
"title": "Round rect",
"blocks": [
{
"shape": "roundRect",
"text": "Round rect"
}
]
}
]
}