Basic Shapes
Octagon
"shape": "octagon" draws PowerPoint's octagon preset. The PPTX export writes it as a native shape with its adjust values, so it stays editable in PowerPoint.
Search words: eight, sides, polygon, stop, sign
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
| Name | Default | Range |
|---|---|---|
| adj | 0.29289 | 0 to 0.5 |
OPF units: fractions (most often of the shorter side) and degrees, for example "adjust": { "adj": 0.29289 }.
OPF Config
{
"$schema": "https://openpresentation.org/schema/opf/v1",
"name": "PPTX.gallery — shapes/octagon",
"description": "The octagon preset as an OPF shape block.",
"slides": [
{
"title": "Octagon",
"blocks": [
{
"shape": "octagon",
"text": "Octagon"
}
]
}
]
}More Basic Shapes
- ellipse
- triangle
- rtTriangle
- parallelogram
- trapezoid
- nonIsoscelesTrapezoid
- diamond
- pentagon
- hexagon
- heptagon
- octagon
- decagon
- dodecagon
- pie
- pieWedge
- chord
- teardrop
- frame
- halfFrame
- corner
- diagStripe
- plus
- plaque
- can
- cube
- bevel
- donut
- noSmoking
- blockArc
- foldedCorner
- smileyFace
- heart
- lightningBolt
- sun
- moon
- cloud
- arc
- bracketPair
- bracePair
- leftBracket
- rightBracket
- leftBrace
- rightBrace
- gear6
- gear9
- funnel
- cornerTabs
- squareTabs
- plaqueTabs
- chartPlus
- chartStar
- chartX