---
title: BNNS.CropResizeLayer.BoxCoordinateMode
framework: accelerate
role: symbol
role_heading: Enumeration
path: accelerate/bnns/cropresizelayer/boxcoordinatemode
---

# BNNS.CropResizeLayer.BoxCoordinateMode

An enumeration that defines the convention for specifying the bounding box coordinates of a 2D image.

## Declaration

```swift
enum BoxCoordinateMode
```

## Topics

### Enumeration Cases

- [BNNS.CropResizeLayer.BoxCoordinateMode.centerSizeHeightFirst](accelerate/bnns/cropresizelayer/boxcoordinatemode/centersizeheightfirst.md)
- [BNNS.CropResizeLayer.BoxCoordinateMode.centerSizeWidthFirst](accelerate/bnns/cropresizelayer/boxcoordinatemode/centersizewidthfirst.md)
- [BNNS.CropResizeLayer.BoxCoordinateMode.cornersHeightFirst](accelerate/bnns/cropresizelayer/boxcoordinatemode/cornersheightfirst.md)
- [BNNS.CropResizeLayer.BoxCoordinateMode.cornersWidthFirst](accelerate/bnns/cropresizelayer/boxcoordinatemode/cornerswidthfirst.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)

## See Also

### Suporting Types

- [BNNS.CropResizeLayer.LinearSamplingMode](accelerate/bnns/cropresizelayer/linearsamplingmode.md)
