Guideline
abstract class Guideline : Helper
| kotlin.Any | ||
| ↳ | androidx.constraintlayout.core.dsl.Helper | |
| ↳ | androidx.constraintlayout.core.dsl.Guideline |
Summary
Public functions |
|
|---|---|
Int |
getEnd()Get the end position |
Float |
Get the position in percent |
Int |
getStart()Get the start position |
Unit |
Set the end position |
Unit |
setPercent(percent: Float)Set the position in percent |
Unit |
Set the start position |
Inherited Constants |
||||
|---|---|---|---|---|
|
Inherited functions |
|---|
Inherited properties |
|---|
Public functions
getPercent
Added in 1.1.1
fun getPercent(): Float
Get the position in percent
| Returns | |
|---|---|
Float |
position in percent |
setEnd
Added in 1.1.1
fun setEnd(end: Int): Unit
Set the end position
| Parameters | |
|---|---|
end: Int |
the end position |
setPercent
Added in 1.1.1
fun setPercent(percent: Float): Unit
Set the position in percent
| Parameters | |
|---|---|
percent: Float |
the position in percent |