---
title: ShapeConfiguration
framework: paperkit
role: symbol
role_heading: Structure
path: paperkit/shapeconfiguration
---

# ShapeConfiguration

A configuration that specifies the appearance of a shape.

## Declaration

```swift
struct ShapeConfiguration
```

## Topics

### Creating a configuration

- [init(type:fillColor:strokeColor:lineWidth:)](paperkit/shapeconfiguration/init(type:fillcolor:strokecolor:linewidth:).md)

### Choosing a shape type

- [type](paperkit/shapeconfiguration/type.md)
- [ShapeConfiguration.Shape](paperkit/shapeconfiguration/shape.md)

### Configuring fill and stroke

- [fillColor](paperkit/shapeconfiguration/fillcolor.md)
- [strokeColor](paperkit/shapeconfiguration/strokecolor.md)
- [lineWidth](paperkit/shapeconfiguration/linewidth.md)

## See Also

### Configuration

- [FeatureSet](paperkit/featureset.md)
- [RenderingOptions](paperkit/renderingoptions.md)
- [PaperDocumentDisplayMode](paperkit/paperdocumentdisplaymode.md)
