PPTX.gallery

Rectangles

Round 2same rect

"shape": "round2SameRect" draws PowerPoint's round2SameRect preset. The PPTX export writes it as a native shape with its adjust values, so it stays editable in PowerPoint.

Search words: rounded, corners, tab

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

NameDefaultRange
adj10.166670 to 0.5
adj200 to 0.5

OPF units: fractions (most often of the shorter side) and degrees, for example "adjust": { "adj1": 0.16667 }.

OPF Config

{
  "$schema": "https://openpresentation.org/schema/opf/v1",
  "name": "PPTX.gallery — shapes/round2SameRect",
  "description": "The round2SameRect preset as an OPF shape block.",
  "slides": [
    {
      "title": "Round 2same rect",
      "blocks": [
        {
          "shape": "round2SameRect",
          "text": "Round 2same rect"
        }
      ]
    }
  ]
}

More Rectangles