PPTX.gallery

Basic Shapes

Pentagon

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

Search words: five, sides, regular, polygon

Frame

A shape block takes the largest frame of 1: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
hf1.05146unbounded to unbounded
vf1.10557unbounded to unbounded

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

OPF Config

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

More Basic Shapes