class ConstraintReference : Reference

Known direct subclasses
Known indirect subclasses
AlignHorizontallyReference
AlignVerticallyReference
BarrierReference
ChainReference

HelperReference for Chains.

FlowReference

The FlowReference class can be used to store the relevant properties of a Flow Helper when parsing the Flow Helper information in a JSON representation.

GridReference

A HelperReference of a Grid Helper that helps enable Grid in Compose

HorizontalChainReference
VerticalChainReference

Summary

Public constructors

Public functions

Unit
addCustomColor(name: String!, color: Int)
Unit
addCustomFloat(name: String!, value: Float)
ConstraintReference!
alpha(alpha: Float)
Unit
Unit

apply all the constraints attributes of the mConstraintWidget

ConstraintReference!
ConstraintReference!
baselineToBaseline(reference: Any!)
ConstraintReference!
baselineToBottom(reference: Any!)
ConstraintReference!
baselineToTop(reference: Any!)
ConstraintReference!
bias(value: Float)
ConstraintReference!
ConstraintReference!
bottomToBottom(reference: Any!)
ConstraintReference!
bottomToTop(reference: Any!)
ConstraintReference!
centerHorizontally(reference: Any!)
ConstraintReference!
centerVertically(reference: Any!)
ConstraintReference!
circularConstraint(reference: Any!, angle: Float, distance: Float)
ConstraintReference!
ConstraintReference!

Clears all constraints.

ConstraintReference!
ConstraintReference!
ConstraintWidget!
ConstraintReference!
end()
ConstraintReference!
endToEnd(reference: Any!)
ConstraintReference!
endToStart(reference: Any!)
Float
ConstraintWidget!
Facade!
Dimension!
Int
Float
Any!
Float
Float
Float
Float
Float
Float
Float
String!
Float
Float
Float
Int
Float
Any!
Dimension!
ConstraintReference!
height(dimension: Dimension!)
ConstraintReference!
ConstraintReference!
ConstraintReference!
leftToLeft(reference: Any!)
ConstraintReference!
leftToRight(reference: Any!)
ConstraintReference!
margin(marginValue: Any!)
ConstraintReference!
margin(value: Int)
ConstraintReference!
marginGone(marginGoneValue: Any!)
ConstraintReference!
marginGone(value: Int)
ConstraintReference!
ConstraintReference!
ConstraintReference!
ConstraintReference!
rightToLeft(reference: Any!)
ConstraintReference!
rightToRight(reference: Any!)
ConstraintReference!
ConstraintReference!
ConstraintReference!
ConstraintReference!
ConstraintReference!
Unit
Unit
setFacade(facade: Facade!)
ConstraintReference!
setHeight(dimension: Dimension!)
Unit
Unit
Unit
setKey(key: Any!)
Unit
setTag(tag: String!)
Unit
Unit
Unit
setView(view: Any!)
ConstraintReference!
setWidth(dimension: Dimension!)
ConstraintReference!
ConstraintReference!
startToEnd(reference: Any!)
ConstraintReference!
startToStart(reference: Any!)
ConstraintReference!
top()
ConstraintReference!
topToBottom(reference: Any!)
ConstraintReference!
topToTop(reference: Any!)
ConstraintReference!
ConstraintReference!
ConstraintReference!
Unit

Validate the constraints

ConstraintReference!
ConstraintReference!
visibility(visibility: Int)
ConstraintReference!
width(dimension: Dimension!)

Public constructors

ConstraintReference

Added in 1.1.0-alpha13
ConstraintReference(state: State!)

Public functions

addCustomColor

Added in 1.1.0-alpha13
fun addCustomColor(name: String!, color: Int): Unit

addCustomFloat

Added in 1.1.0-alpha13
fun addCustomFloat(name: String!, value: Float): Unit

alpha

Added in 1.1.0-alpha13
fun alpha(alpha: Float): ConstraintReference!

apply

Added in 1.1.0-alpha13
fun apply(): Unit

applyWidgetConstraints

Added in 1.1.0-alpha13
fun applyWidgetConstraints(): Unit

apply all the constraints attributes of the mConstraintWidget

baseline

Added in 1.1.0-alpha13
fun baseline(): ConstraintReference!

baselineToBaseline

Added in 1.1.0-alpha13
fun baselineToBaseline(reference: Any!): ConstraintReference!

baselineToBottom

Added in 1.1.0-alpha13
fun baselineToBottom(reference: Any!): ConstraintReference!

baselineToTop

Added in 1.1.0-alpha13
fun baselineToTop(reference: Any!): ConstraintReference!

bias

Added in 1.1.0-alpha13
fun bias(value: Float): ConstraintReference!

bottom

Added in 1.1.0-alpha13
fun bottom(): ConstraintReference!

bottomToBottom

Added in 1.1.0-alpha13
fun bottomToBottom(reference: Any!): ConstraintReference!

bottomToTop

Added in 1.1.0-alpha13
fun bottomToTop(reference: Any!): ConstraintReference!

centerHorizontally

Added in 1.1.0-alpha13
fun centerHorizontally(reference: Any!): ConstraintReference!

centerVertically

Added in 1.1.0-alpha13
fun centerVertically(reference: Any!): ConstraintReference!

circularConstraint

Added in 1.1.0-alpha13
fun circularConstraint(reference: Any!, angle: Float, distance: Float): ConstraintReference!

clear

Added in 1.1.0-alpha13
fun clear(): ConstraintReference!

clearAll

Added in 1.1.0-alpha13
fun clearAll(): ConstraintReference!

Clears all constraints.

clearHorizontal

Added in 1.1.0-alpha13
fun clearHorizontal(): ConstraintReference!

clearVertical

Added in 1.1.0-alpha13
fun clearVertical(): ConstraintReference!

createConstraintWidget

Added in 1.1.0-alpha13
fun createConstraintWidget(): ConstraintWidget!

end

Added in 1.1.0-alpha13
fun end(): ConstraintReference!

endToEnd

Added in 1.1.0-alpha13
fun endToEnd(reference: Any!): ConstraintReference!

endToStart

Added in 1.1.0-alpha13
fun endToStart(reference: Any!): ConstraintReference!

getAlpha

Added in 1.1.0-alpha13
fun getAlpha(): Float

getConstraintWidget

Added in 1.1.0-alpha13
fun getConstraintWidget(): ConstraintWidget!

getFacade

Added in 1.1.0-alpha13
fun getFacade(): Facade!

getHeight

Added in 1.1.0-alpha13
fun getHeight(): Dimension!

getHorizontalChainStyle

Added in 1.1.0-alpha13
fun getHorizontalChainStyle(): Int

getHorizontalChainWeight

Added in 1.1.0-alpha13
fun getHorizontalChainWeight(): Float

getKey

Added in 1.1.0-alpha13
fun getKey(): Any!

getPivotX

Added in 1.1.0-alpha13
fun getPivotX(): Float

getPivotY

Added in 1.1.0-alpha13
fun getPivotY(): Float

getRotationX

Added in 1.1.0-alpha13
fun getRotationX(): Float

getRotationY

Added in 1.1.0-alpha13
fun getRotationY(): Float

getRotationZ

Added in 1.1.0-alpha13
fun getRotationZ(): Float

getScaleX

Added in 1.1.0-alpha13
fun getScaleX(): Float

getScaleY

Added in 1.1.0-alpha13
fun getScaleY(): Float

getTag

Added in 1.1.0-alpha13
fun getTag(): String!

getTranslationX

Added in 1.1.0-alpha13
fun getTranslationX(): Float

getTranslationY

Added in 1.1.0-alpha13
fun getTranslationY(): Float

getTranslationZ

Added in 1.1.0-alpha13
fun getTranslationZ(): Float

getVerticalChainStyle

Added in 1.1.0-alpha13
fun getVerticalChainStyle(chainStyle: Int): Int

getVerticalChainWeight

Added in 1.1.0-alpha13
fun getVerticalChainWeight(): Float

getView

Added in 1.1.0-alpha13
fun getView(): Any!

getWidth

Added in 1.1.0-alpha13
fun getWidth(): Dimension!

height

Added in 1.1.0-alpha13
fun height(dimension: Dimension!): ConstraintReference!

horizontalBias

Added in 1.1.0-alpha13
fun horizontalBias(value: Float): ConstraintReference!

left

Added in 1.1.0-alpha13
fun left(): ConstraintReference!

leftToLeft

Added in 1.1.0-alpha13
fun leftToLeft(reference: Any!): ConstraintReference!

leftToRight

Added in 1.1.0-alpha13
fun leftToRight(reference: Any!): ConstraintReference!

margin

Added in 1.1.0-alpha13
fun margin(marginValue: Any!): ConstraintReference!

margin

Added in 1.1.0-alpha13
fun margin(value: Int): ConstraintReference!

marginGone

Added in 1.1.0-alpha13
fun marginGone(marginGoneValue: Any!): ConstraintReference!

marginGone

Added in 1.1.0-alpha13
fun marginGone(value: Int): ConstraintReference!

pivotX

Added in 1.1.0-alpha13
fun pivotX(x: Float): ConstraintReference!

pivotY

Added in 1.1.0-alpha13
fun pivotY(y: Float): ConstraintReference!

right

Added in 1.1.0-alpha13
fun right(): ConstraintReference!

rightToLeft

Added in 1.1.0-alpha13
fun rightToLeft(reference: Any!): ConstraintReference!

rightToRight

Added in 1.1.0-alpha13
fun rightToRight(reference: Any!): ConstraintReference!

rotationX

Added in 1.1.0-alpha13
fun rotationX(x: Float): ConstraintReference!

rotationY

Added in 1.1.0-alpha13
fun rotationY(y: Float): ConstraintReference!

rotationZ

Added in 1.1.0-alpha13
fun rotationZ(z: Float): ConstraintReference!

scaleX

Added in 1.1.0-alpha13
fun scaleX(x: Float): ConstraintReference!

scaleY

Added in 1.1.0-alpha13
fun scaleY(y: Float): ConstraintReference!

setConstraintWidget

Added in 1.1.0-alpha13
fun setConstraintWidget(widget: ConstraintWidget!): Unit

setFacade

Added in 1.1.0-alpha13
fun setFacade(facade: Facade!): Unit

setHeight

Added in 1.1.0-alpha13
fun setHeight(dimension: Dimension!): ConstraintReference!

setHorizontalChainStyle

Added in 1.1.0-alpha13
fun setHorizontalChainStyle(chainStyle: Int): Unit

setHorizontalChainWeight

Added in 1.1.0-alpha13
fun setHorizontalChainWeight(weight: Float): Unit

setKey

Added in 1.1.0-alpha13
fun setKey(key: Any!): Unit

setTag

Added in 1.1.0-alpha13
fun setTag(tag: String!): Unit

setVerticalChainStyle

Added in 1.1.0-alpha13
fun setVerticalChainStyle(chainStyle: Int): Unit

setVerticalChainWeight

Added in 1.1.0-alpha13
fun setVerticalChainWeight(weight: Float): Unit

setView

Added in 1.1.0-alpha13
fun setView(view: Any!): Unit

setWidth

Added in 1.1.0-alpha13
fun setWidth(dimension: Dimension!): ConstraintReference!

start

Added in 1.1.0-alpha13
fun start(): ConstraintReference!

startToEnd

Added in 1.1.0-alpha13
fun startToEnd(reference: Any!): ConstraintReference!

startToStart

Added in 1.1.0-alpha13
fun startToStart(reference: Any!): ConstraintReference!

top

Added in 1.1.0-alpha13
fun top(): ConstraintReference!

topToBottom

Added in 1.1.0-alpha13
fun topToBottom(reference: Any!): ConstraintReference!

topToTop

Added in 1.1.0-alpha13
fun topToTop(reference: Any!): ConstraintReference!

translationX

Added in 1.1.0-alpha13
fun translationX(x: Float): ConstraintReference!

translationY

Added in 1.1.0-alpha13
fun translationY(y: Float): ConstraintReference!

translationZ

Added in 1.1.0-alpha13
fun translationZ(z: Float): ConstraintReference!

verticalBias

Added in 1.1.0-alpha13
fun verticalBias(value: Float): ConstraintReference!

visibility

Added in 1.1.0-alpha13
fun visibility(visibility: Int): ConstraintReference!

width

Added in 1.1.0-alpha13
fun width(dimension: Dimension!): ConstraintReference!

Protected properties

mBottomToBottom

Added in 1.1.0-alpha13
protected val mBottomToBottomAny!

mBottomToTop

Added in 1.1.0-alpha13
protected val mBottomToTopAny!

mEndToEnd

Added in 1.1.0-alpha13
protected val mEndToEndAny!

mEndToStart

Added in 1.1.0-alpha13
protected val mEndToStartAny!

mHorizontalBias

Added in 1.1.0-alpha13
protected val mHorizontalBiasFloat

mLeftToLeft

Added in 1.1.0-alpha13
protected val mLeftToLeftAny!

mLeftToRight

Added in 1.1.0-alpha13
protected val mLeftToRightAny!

mMarginBottom

Added in 1.1.0-alpha13
protected val mMarginBottomInt

mMarginBottomGone

Added in 1.1.0-alpha13
protected val mMarginBottomGoneInt

mMarginEnd

Added in 1.1.0-alpha13
protected val mMarginEndInt

mMarginEndGone

Added in 1.1.0-alpha13
protected val mMarginEndGoneInt

mMarginLeft

Added in 1.1.0-alpha13
protected val mMarginLeftInt

mMarginLeftGone

Added in 1.1.0-alpha13
protected val mMarginLeftGoneInt

mMarginRight

Added in 1.1.0-alpha13
protected val mMarginRightInt

mMarginRightGone

Added in 1.1.0-alpha13
protected val mMarginRightGoneInt

mMarginStart

Added in 1.1.0-alpha13
protected val mMarginStartInt

mMarginStartGone

Added in 1.1.0-alpha13
protected val mMarginStartGoneInt

mMarginTop

Added in 1.1.0-alpha13
protected val mMarginTopInt

mMarginTopGone

Added in 1.1.0-alpha13
protected val mMarginTopGoneInt

mRightToLeft

Added in 1.1.0-alpha13
protected val mRightToLeftAny!

mRightToRight

Added in 1.1.0-alpha13
protected val mRightToRightAny!

mStartToEnd

Added in 1.1.0-alpha13
protected val mStartToEndAny!

mStartToStart

Added in 1.1.0-alpha13
protected val mStartToStartAny!

mTopToBottom

Added in 1.1.0-alpha13
protected val mTopToBottomAny!

mTopToTop

Added in 1.1.0-alpha13
protected val mTopToTopAny!

mVerticalBias

Added in 1.1.0-alpha13
protected val mVerticalBiasFloat