PPTX.gallery

Rectangles

Snip 2same rect

"shape": "snip2SameRect" draws PowerPoint's snip2SameRect 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
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/snip2SameRect",
  "description": "The snip2SameRect preset as an OPF shape block.",
  "slides": [
    {
      "title": "Snip 2same rect",
      "blocks": [
        {
          "shape": "snip2SameRect",
          "text": "Snip 2same rect"
        }
      ]
    }
  ]
}

More Rectangles