# DesignInfoProvider

Artifact: [androidx.constraintlayout:constraintlayout-compose](https://developer.android.com/jetpack/androidx/releases/constraintlayout) [View Source](https://cs.android.com/search?q=file:androidx/constraintlayout/compose/ToolingUtils.kt+class:androidx.constraintlayout.compose.DesignInfoProvider) Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)


```
interface DesignInfoProvider
```

<br />

*** ** * ** ***

Interface used for Studio tooling.

Returns a json string with the constraints and bounding box for each ID in the system.

## Summary

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/DesignInfoProvider#getDesignInfo(kotlin.Int,kotlin.Int,kotlin.String)(startX: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, startY: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, args: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)` |

## Public functions

### getDesignInfo

Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

```
fun getDesignInfo(startX: Int, startY: Int, args: String): String
```