---
title: "HIShapeCreateWithRect(_:)"
framework: Application Services
role: symbol
role_heading: Function
platforms: [macOS 10.2+]
path: applicationservices/1460650-hishapecreatewithrect
---

# HIShapeCreateWithRect(_:)

## Declaration

```swift
func HIShapeCreateWithRect(_ inRect: UnsafePointer<CGRect>!) -> Unmanaged<HIShape>!
```
