---
title: "Box"
sidebar_label: "Box"
description: "Kotlin binding reference: Box."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[Box](index.md)

# Box

[common]\
data class [Box](index.md)(val left: [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html), val top: [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html), val right: [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html), val bottom: [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html))

A rectangle in the input picture's pixels, top-left origin, [left](left.md) and [top](top.md) the inclusive edges.

## Constructors

| | |
|---|---|
| [Box](Box.md) | [common]<br>constructor(left: [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html), top: [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html), right: [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html), bottom: [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)) |

## Properties

| Name | Summary |
|---|---|
| [bottom](bottom.md) | [common]<br>val [bottom](bottom.md): [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) |
| [left](left.md) | [common]<br>val [left](left.md): [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) |
| [right](right.md) | [common]<br>val [right](right.md): [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) |
| [top](top.md) | [common]<br>val [top](top.md): [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) |