# OrientedBoundingBox

Added in[API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# OrientedBoundingBox

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/gesture/OrientedBoundingBox "View this page in Java")  

```
open class OrientedBoundingBox
```

|---|----------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                             ||
| ↳ | [android.gesture.OrientedBoundingBox](https://developer.android.com/reference/kotlin/android/gesture/OrientedBoundingBox#) |

An oriented bounding box

## Summary

|                                                                                                    Properties                                                                                                     ||
|--------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|
| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | [centerX](https://developer.android.com/reference/kotlin/android/gesture/OrientedBoundingBox#centerX:kotlin.Float) <br />         |
| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | [centerY](https://developer.android.com/reference/kotlin/android/gesture/OrientedBoundingBox#centerY:kotlin.Float) <br />         |
| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | [height](https://developer.android.com/reference/kotlin/android/gesture/OrientedBoundingBox#height:kotlin.Float) <br />           |
| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | [orientation](https://developer.android.com/reference/kotlin/android/gesture/OrientedBoundingBox#orientation:kotlin.Float) <br /> |
| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | [squareness](https://developer.android.com/reference/kotlin/android/gesture/OrientedBoundingBox#squareness:kotlin.Float) <br />   |
| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | [width](https://developer.android.com/reference/kotlin/android/gesture/OrientedBoundingBox#width:kotlin.Float) <br />             |

## Properties

### centerX

Added in[API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
val centerX: Float
```  

### centerY

Added in[API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
val centerY: Float
```  

### height

Added in[API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
val height: Float
```  

### orientation

Added in[API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
val orientation: Float
```  

### squareness

Added in[API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
val squareness: Float
```  

### width

Added in[API level 4](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
val width: Float
```