# GuidelineReference

Artifact: [androidx.constraintlayout:constraintlayout-core](https://developer.android.com/jetpack/androidx/releases/constraintlayout) [View Source](https://cs.android.com/search?q=file:androidx/constraintlayout/core/state/helpers/GuidelineReference.java+class:androidx.constraintlayout.core.state.helpers.GuidelineReference) Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

*** ** * ** ***


```
class GuidelineReference : Facade, Reference
```

<br />

*** ** * ** ***

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GuidelineReference#GuidelineReference(androidx.constraintlayout.core.state.State)(state: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/State!)` |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GuidelineReference#apply()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GuidelineReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GuidelineReference#end(java.lang.Object)(margin: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GuidelineReference#getConstraintWidget()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/Facade!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GuidelineReference#getFacade()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GuidelineReference#getKey()()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GuidelineReference#getOrientation()()` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GuidelineReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GuidelineReference#percent(float)(percent: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GuidelineReference#setConstraintWidget(androidx.constraintlayout.core.widgets.ConstraintWidget)(widget: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/widgets/ConstraintWidget!)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GuidelineReference#setKey(java.lang.Object)(key: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GuidelineReference#setOrientation(int)(orientation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GuidelineReference!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/helpers/GuidelineReference#start(java.lang.Object)(margin: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` |

## Public constructors

### GuidelineReference

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

```
GuidelineReference(state: State!)
```

## Public functions

### apply

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

```
fun apply(): Unit
```

### end

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

```
fun end(margin: Any!): GuidelineReference!
```

### getConstraintWidget

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

```
fun getConstraintWidget(): ConstraintWidget!
```

### getFacade

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

```
fun getFacade(): Facade!
```

### getKey

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

```
fun getKey(): Any!
```

### getOrientation

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

```
fun getOrientation(): Int
```

### percent

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

```
fun percent(percent: Float): GuidelineReference!
```

### setConstraintWidget

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

```
fun setConstraintWidget(widget: ConstraintWidget!): Unit
```

### setKey

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

```
fun setKey(key: Any!): Unit
```

### setOrientation

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

```
fun setOrientation(orientation: Int): Unit
```

### start

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

```
fun start(margin: Any!): GuidelineReference!
```