<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIRoundedRectangleGenerator",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:objc(pl)CIRoundedRectangleGenerator"
  },
  "title" : "CIRoundedRectangleGenerator"
}
-->

# CIRoundedRectangleGenerator

The properties you use to configure a rounded rectangle generator filter.

```
protocol CIRoundedRectangleGenerator : CIFilterProtocol
```

## Topics

### Instance Properties

[`color`](/documentation/CoreImage/CIRoundedRectangleGenerator/color)

The color of the rounded rectangle.

[`extent`](/documentation/CoreImage/CIRoundedRectangleGenerator/extent)

A rectangle that defines the extent of the effect.

[`radius`](/documentation/CoreImage/CIRoundedRectangleGenerator/radius)

The distance from the center of the effect.

## See Also

[`roundedRectangleGenerator()`](/documentation/CoreImage/CIFilter-swift.class/roundedRectangleGenerator())

Generates a rounded rectangle image.



---

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)