PPTX.gallery

Rectangles

Snip 2diag rect

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

Search words: cut, 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
adj100 to 0.5
adj20.166670 to 0.5

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

OPF Config

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

More Rectangles