PPTX.gallery

Rectangles

Round 2diag rect

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

Search words: rounded, corners

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/round2DiagRect",
  "description": "The round2DiagRect preset as an OPF shape block.",
  "slides": [
    {
      "title": "Round 2diag rect",
      "blocks": [
        {
          "shape": "round2DiagRect",
          "text": "Round 2diag rect"
        }
      ]
    }
  ]
}

More Rectangles