ConstraintReference


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
ConstraintReference(state: State!)

Public functions

addCustomColor

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

addCustomFloat

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

alpha

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

apply

Added in 1.1.0
fun apply(): Unit

applyWidgetConstraints

Added in 1.1.0
fun applyWidgetConstraints(): Unit

apply all the constraints attributes of the mConstraintWidget

baseline

Added in 1.1.0
fun baseline(): ConstraintReference!

baselineToBaseline

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

baselineToBottom

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

baselineToTop

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

bias

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

bottom

Added in 1.1.0
fun bottom(): ConstraintReference!

bottomToBottom

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

bottomToTop

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

centerHorizontally

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

centerVertically

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

circularConstraint

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

clear

Added in 1.1.0
fun clear(): ConstraintReference!

clearAll

Added in 1.1.0
fun clearAll(): ConstraintReference!

Clears all constraints.

clearHorizontal

Added in 1.1.0
fun clearHorizontal(): ConstraintReference!

clearVertical

Added in 1.1.0
fun clearVertical(): ConstraintReference!

createConstraintWidget

Added in 1.1.0
fun createConstraintWidget(): ConstraintWidget!

end

Added in 1.1.0
fun end(): ConstraintReference!

endToEnd

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

endToStart

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

getAlpha

Added in 1.1.0
fun getAlpha(): Float

getConstraintWidget

Added in 1.1.0
fun getConstraintWidget(): ConstraintWidget!

getFacade

Added in 1.1.0
fun getFacade(): Facade!

getHeight

Added in 1.1.0
fun getHeight(): Dimension!

getHorizontalChainStyle

Added in 1.1.0
fun getHorizontalChainStyle(): Int

getHorizontalChainWeight

Added in 1.1.0
fun getHorizontalChainWeight(): Float

getKey

Added in 1.1.0
fun getKey(): Any!

getPivotX

Added in 1.1.0
fun getPivotX(): Float

getPivotY

Added in 1.1.0
fun getPivotY(): Float

getRotationX

Added in 1.1.0
fun getRotationX(): Float

getRotationY

Added in 1.1.0
fun getRotationY(): Float

getRotationZ

Added in 1.1.0
fun getRotationZ(): Float

getScaleX

Added in 1.1.0
fun getScaleX(): Float

getScaleY

Added in 1.1.0
fun getScaleY(): Float

getTag

Added in 1.1.0
fun getTag(): String!

getTranslationX

Added in 1.1.0
fun getTranslationX(): Float

getTranslationY

Added in 1.1.0
fun getTranslationY(): Float

getTranslationZ

Added in 1.1.0
fun getTranslationZ(): Float

getVerticalChainStyle

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

getVerticalChainWeight

Added in 1.1.0
fun getVerticalChainWeight(): Float

getView

Added in 1.1.0
fun getView(): Any!

getWidth

Added in 1.1.0
fun getWidth(): Dimension!

height

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

horizontalBias

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

left

Added in 1.1.0
fun left(): ConstraintReference!

leftToLeft

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

leftToRight

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

margin

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

margin

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

marginGone

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

marginGone

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

pivotX

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

pivotY

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

right

Added in 1.1.0
fun right(): ConstraintReference!

rightToLeft

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

rightToRight

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

rotationX

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

rotationY

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

rotationZ

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

scaleX

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

scaleY

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

setConstraintWidget

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

setFacade

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

setHeight

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

setHorizontalChainStyle

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

setHorizontalChainWeight

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

setKey

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

setTag

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

setVerticalChainStyle

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

setVerticalChainWeight

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

setView

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

setWidth

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

start

Added in 1.1.0
fun start(): ConstraintReference!

startToEnd

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

startToStart

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

top

Added in 1.1.0
fun top(): ConstraintReference!

topToBottom

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

topToTop

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

translationX

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

translationY

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

translationZ

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

verticalBias

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

visibility

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

width

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

Protected properties

mBottomToBottom

Added in 1.1.0
protected val mBottomToBottomAny!

mBottomToTop

Added in 1.1.0
protected val mBottomToTopAny!

mEndToEnd

Added in 1.1.0
protected val mEndToEndAny!

mEndToStart

Added in 1.1.0
protected val mEndToStartAny!

mHorizontalBias

Added in 1.1.0
protected val mHorizontalBiasFloat

mLeftToLeft

Added in 1.1.0
protected val mLeftToLeftAny!

mLeftToRight

Added in 1.1.0
protected val mLeftToRightAny!

mMarginBottom

Added in 1.1.0
protected val mMarginBottomInt

mMarginBottomGone

Added in 1.1.0
protected val mMarginBottomGoneInt

mMarginEnd

Added in 1.1.0
protected val mMarginEndInt

mMarginEndGone

Added in 1.1.0
protected val mMarginEndGoneInt

mMarginLeft

Added in 1.1.0
protected val mMarginLeftInt

mMarginLeftGone

Added in 1.1.0
protected val mMarginLeftGoneInt

mMarginRight

Added in 1.1.0
protected val mMarginRightInt

mMarginRightGone

Added in 1.1.0
protected val mMarginRightGoneInt

mMarginStart

Added in 1.1.0
protected val mMarginStartInt

mMarginStartGone

Added in 1.1.0
protected val mMarginStartGoneInt

mMarginTop

Added in 1.1.0
protected val mMarginTopInt

mMarginTopGone

Added in 1.1.0
protected val mMarginTopGoneInt

mRightToLeft

Added in 1.1.0
protected val mRightToLeftAny!

mRightToRight

Added in 1.1.0
protected val mRightToRightAny!

mStartToEnd

Added in 1.1.0
protected val mStartToEndAny!

mStartToStart

Added in 1.1.0
protected val mStartToStartAny!

mTopToBottom

Added in 1.1.0
protected val mTopToBottomAny!

mTopToTop

Added in 1.1.0
protected val mTopToTopAny!

mVerticalBias

Added in 1.1.0
protected val mVerticalBiasFloat