# DetectedRect Structure Reference



## Scope and provenance

- Product: mobile
- Status: Imported reference snapshot. Import date is not a verification date or guarantee of current release support.
- SDK version: Not declared for this page. Versions in examples must not be assumed current.
- Environment: Page-specific. Confirm the environment host, credentials, and service configuration; do not infer them from another product.
- Source: https://documentation.idmission.com/identity/iOS-SDK-2/Structs/Metadata/DetectedRect.html
- Imported at: 2026-10-25T05:00:44.899Z
- Canonical page: https://docs.idmission.com/mobile/reference/ios/Structs/Metadata/DetectedRect
- Agent index: https://docs.idmission.com/llms.txt

---

<a id="detectedrect"></a>

# DetectedRect

```
public struct DetectedRect : Encodable
```

Detection rectangle.

- <a id="/s:17IDentitySDK_Swift8MetadataV12DetectedRectV5rightSfvp"></a>

  <a id="//apple_ref/swift/Property/right"></a>

  `right`

  Right relative location.

  <a id="declaration"></a>

  #### Declaration

  Swift

  ```
  public var right: Float
  ```

- <a id="/s:17IDentitySDK_Swift8MetadataV12DetectedRectV3topSfvp"></a>

  <a id="//apple_ref/swift/Property/top"></a>

  `top`

  Top relative location.

  <a id="declaration-2"></a>

  #### Declaration

  Swift

  ```
  public var top: Float
  ```

- <a id="/s:17IDentitySDK_Swift8MetadataV12DetectedRectV4leftSfvp"></a>

  <a id="//apple_ref/swift/Property/left"></a>

  `left`

  Left relative location.

  <a id="declaration-3"></a>

  #### Declaration

  Swift

  ```
  public var left: Float
  ```

- <a id="/s:17IDentitySDK_Swift8MetadataV12DetectedRectV6bottomSfvp"></a>

  <a id="//apple_ref/swift/Property/bottom"></a>

  `bottom`

  Bottom relative location.

  <a id="declaration-4"></a>

  #### Declaration

  Swift

  ```
  public var bottom: Float
  ```

- <a id="/s:17IDentitySDK_Swift8MetadataV12DetectedRectV13detectedFrame13fullImageSizeAESo6CGRectV_So6CGSizeVtcfc"></a>

  <a id="//apple_ref/swift/Method/init(detectedFrame:fullImageSize:)"></a>

  `init(detectedFrame:fullImageSize:)`

  Designated initializer.

  <a id="declaration-5"></a>

  #### Declaration

  Swift

  ```
  public init(detectedFrame: CGRect, fullImageSize: CGSize)
  ```

<a id="footer"></a>

© 2026 [IDmission](https://www.idmission.com/). All rights reserved. (Last updated: 2026-10-16)

Generated by [jazzy ♪♫ v0.15.3](https://github.com/realm/jazzy), a [Realm](https://realm.io/) project.
