<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PaperKit",
  "identifier" : "/documentation/PaperKit/ShapeMarkup/shape-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "PaperKit"
    ],
    "preciseIdentifier" : "s:8PaperKit11ShapeMarkupV5shapeAC0C0Ovp"
  },
  "title" : "shape"
}
-->

# shape

The type of the shape.

```
var shape: ShapeMarkup.Shape { get set }
```

## Discussion

The coordinate values of the shape type are relative to the unit coordinate space. For example a
corner radius of `0.1` is equivalent to a radius of 10% of the minimum dimension of the shape.

Use `shapeScaled` for a shape type with scaled values relative to the shape’s `frame`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)