ConstraintDslContext

Block within which constraints can be defined and captured.

Types

Link copied to clipboard

Properties

Link copied to clipboard
lateinit var parent: ParentBounds
Link copied to clipboard

Creates a Constraint that keeps the Property's current value. This is equivalent to:

Functions

Link copied to clipboard
operator fun ConstExpression.div(other: Expression): Double
operator fun ConstExpression.div(coefficient: Number): Double
operator fun ConstProperty.div(denominator: Number): Double
operator fun Expression.div(other: Expression): Expression
operator fun Expression.div(denominator: Number): Expression
operator fun Property.div(denominator: Number): Term
operator fun Term.div(denominator: Number): Term
Link copied to clipboard
infix fun Edges.eq(rectangle: Rectangle): List<Result<Constraint>>
infix fun Edges.eq(other: ConstEdges): List<Result<Constraint>>
infix fun Edges.eq(other: Edges): List<Result<Constraint>>
infix fun Expression.eq(property: Property): Result<Constraint>
infix fun Expression.eq(term: Term): Result<Constraint>
infix fun Expression.eq(constant: Number): Result<Constraint>
infix fun Position.eq(point: Point): List<Result<Constraint>>
infix fun Position.eq(other: Position): List<Result<Constraint>>
infix fun Property.eq(expression: ConstExpression): Result<Constraint>
infix fun Property.eq(property: ConstProperty): Result<Constraint>
infix fun Property.eq(expression: Expression): Result<Constraint>
infix fun Property.eq(property: Property): Result<Constraint>
infix fun Property.eq(term: Term): Result<Constraint>
infix fun Property.eq(constant: Number): Result<Constraint>
infix fun Term.eq(expression: ConstExpression): Result<Constraint>
infix fun Term.eq(property: ConstProperty): Result<Constraint>
infix fun Term.eq(expression: Expression): Result<Constraint>
infix fun Term.eq(property: Property): Result<Constraint>
infix fun Term.eq(term: Term): Result<Constraint>
infix fun Term.eq(constant: Number): Result<Constraint>
infix fun Number.eq(expression: Expression): Result<Constraint>
infix fun Number.eq(variable: Property): Result<Constraint>
infix fun Number.eq(term: Term): Result<Constraint>
Link copied to clipboard
Link copied to clipboard
infix fun Expression.lessEq(property: Property): Result<Constraint>
infix fun Expression.lessEq(constant: Number): Result<Constraint>
infix fun Property.lessEq(expression: Expression): Result<Constraint>
infix fun Property.lessEq(term: Term): Result<Constraint>
infix fun Property.lessEq(constant: Number): Result<Constraint>
infix fun Term.lessEq(expression: ConstExpression): Result<Constraint>
infix fun Term.lessEq(property: ConstProperty): Result<Constraint>
infix fun Term.lessEq(expression: Expression): Result<Constraint>
infix fun Term.lessEq(property: Property): Result<Constraint>
infix fun Term.lessEq(term: Term): Result<Constraint>
infix fun Term.lessEq(constant: Number): Result<Constraint>
infix fun Number.lessEq(expression: Expression): Result<Constraint>
infix fun Number.lessEq(property: Property): Result<Constraint>
infix fun Number.lessEq(term: Term): Result<Constraint>
Link copied to clipboard
operator fun Point.minus(position: ConstPosition): ConstPosition
operator fun Point.minus(position: Position): Position
operator fun ConstEdges.minus(value: Number): Rectangle
operator fun ConstExpression.minus(property: Property): Expression
operator fun ConstExpression.minus(term: Term): Expression
operator fun ConstExpression.minus(value: Number): Double
operator fun ConstPosition.minus(point: Point): ConstPosition
operator fun ConstProperty.minus(expression: Expression): Expression
operator fun ConstProperty.minus(other: Property): Expression
operator fun ConstProperty.minus(term: Term): Expression
operator fun ConstProperty.minus(constant: Number): Double
operator fun Edges.minus(value: Number): Edges
operator fun Expression.minus(other: Expression): Expression
operator fun Expression.minus(property: Property): Expression
operator fun Expression.minus(term: Term): Expression
operator fun Expression.minus(value: Number): Expression
operator fun Position.minus(point: Point): Position
operator fun Property.minus(expression: Expression): Expression
operator fun Property.minus(other: Property): Expression
operator fun Property.minus(term: Term): Expression
operator fun Property.minus(constant: Number): Expression
operator fun Term.minus(expression: ConstExpression): Expression
operator fun Term.minus(property: ConstProperty): Expression
operator fun Term.minus(expression: Expression): Expression
operator fun Term.minus(property: Property): Expression
operator fun Term.minus(term: Term): Expression
operator fun Term.minus(constant: Number): Expression
operator fun Number.minus(expression: ConstExpression): Double
operator fun Number.minus(property: ConstProperty): Double
operator fun Number.minus(expression: Expression): Expression
operator fun Number.minus(property: Property): Expression
operator fun Number.minus(term: Term): Expression
Link copied to clipboard
operator fun Point.plus(position: ConstPosition): ConstPosition
operator fun Point.plus(position: Position): Position
operator fun ConstEdges.plus(insets: Insets): Rectangle
operator fun ConstEdges.plus(value: Number): Rectangle
operator fun ConstExpression.plus(property: Property): Expression
operator fun ConstExpression.plus(term: Term): Expression
operator fun ConstExpression.plus(constant: Number): Double
operator fun ConstPosition.plus(point: Point): ConstPosition
operator fun ConstProperty.plus(expression: Expression): Expression
operator fun ConstProperty.plus(other: Property): Expression
operator fun ConstProperty.plus(term: Term): Expression
operator fun ConstProperty.plus(constant: Number): Double
operator fun Edges.plus(insets: Insets): Edges
operator fun Edges.plus(value: Number): Edges
operator fun Expression.plus(other: Expression): Expression
operator fun Expression.plus(property: Property): Expression
operator fun Expression.plus(term: Term): Expression
operator fun Expression.plus(constant: Number): Expression
operator fun Position.plus(point: Point): Position
operator fun Property.plus(expression: Expression): Expression
operator fun Property.plus(other: Property): Expression
operator fun Property.plus(term: Term): Expression
operator fun Property.plus(constant: Number): Expression
operator fun Term.plus(expression: ConstExpression): Expression
operator fun Term.plus(property: ConstProperty): Expression
operator fun Term.plus(expression: Expression): Expression
operator fun Term.plus(property: Property): Expression
operator fun Term.plus(term: Term): Expression
operator fun Term.plus(value: Number): Expression
operator fun Number.plus(expression: ConstExpression): Double
operator fun Number.plus(property: ConstProperty): Double
operator fun Number.plus(expression: Expression): Expression
operator fun Number.plus(property: Property): Expression
operator fun Number.plus(term: Term): Expression
Link copied to clipboard
operator fun Result<Constraint>.rangeTo(strength: Strength): Result<Constraint>
Link copied to clipboard
operator fun ConstExpression.times(coefficient: Number): Double
operator fun ConstProperty.times(coefficient: Number): Double
operator fun Expression.times(other: Expression): Expression
operator fun Expression.times(coefficient: Number): Expression
operator fun Property.times(coefficient: Number): Term
operator fun Number.times(expression: ConstExpression): Double
operator fun Number.times(property: ConstProperty): Double
operator fun Number.times(expression: Expression): Expression
operator fun Number.times(property: Property): Term
operator fun Number.times(term: Term): Term
Link copied to clipboard
operator fun Property.unaryMinus(): Term
operator fun Term.unaryMinus(): Term
Link copied to clipboard
fun Bounds.withOffset(top: Double? = null, left: Double? = null): Bounds

Inherited functions

Link copied to clipboard
fun ConstraintDslContext.withSizeInsets(width: Double? = null, height: Double? = null, block: ConstraintDslContext.() -> Unit)