Barrier
class Barrier : Helper
Summary
Public functions |
|
|---|---|
Barrier! |
addReference(ref: Ref!)Add a new reference |
Barrier! |
addReference(ref: String!)Add a new reference |
Constraint.Side! |
Get the direction of the Barrier |
Int |
Get the margin of the Barrier |
String! |
Convert references into a String representation |
Unit |
setDirection(direction: Constraint.Side!)Set the direction of the Barrier |
Unit |
Set the margin of the Barrier |
Inherited Constants |
||||
|---|---|---|---|---|
|
Inherited functions |
|---|
Inherited properties |
|---|
Public constructors
Public functions
addReference
Added in 1.1.2
fun addReference(ref: Ref!): Barrier!
Add a new reference
| Parameters | |
|---|---|
ref: Ref! |
reference |
| Returns | |
|---|---|
Barrier! |
Barrier |
addReference
Added in 1.1.2
fun addReference(ref: String!): Barrier!
Add a new reference
| Parameters | |
|---|---|
ref: String! |
reference in a String representation |
| Returns | |
|---|---|
Barrier! |
Chain |
getDirection
Added in 1.1.2
fun getDirection(): Constraint.Side!
Get the direction of the Barrier
| Returns | |
|---|---|
Constraint.Side! |
direction |
referencesToString
Added in 1.1.2
fun referencesToString(): String!
Convert references into a String representation
| Returns | |
|---|---|
String! |
a String representation of references |
setDirection
Added in 1.1.2
fun setDirection(direction: Constraint.Side!): Unit
Set the direction of the Barrier
| Parameters | |
|---|---|
direction: Constraint.Side! |