Layout::Primitive
Inherits Reference < Object
A constrainable value of measurement.
Constructors
new(name)
Sourcenew
SourceInstance methods
*(primitive : Layout::Primitive)
Source*(*args, **options)
Source*(*args, **options, &)
Source+(primitive : Layout::Primitive)
Source+(*args, **options)
Source+(*args, **options, &)
Source-(primitive : Layout::Primitive)
Source-(*args, **options)
Source-(*args, **options, &)
Source/(*args, **options)
Source/(*args, **options, &)
Sourceconstraints
The constraints on this primitive. This is used internally to load the constraints into the constraint solver.
eq(primitive : Layout::Primitive, strength)
Sourceeq(expression, strength) : Kiwi::Constraint
Sourceeq(expression) : Kiwi::Constraint
Sourcegte(primitive : Layout::Primitive, strength)
Sourcegte(expression, strength) : Kiwi::Constraint
Sourcegte(expression) : Kiwi::Constraint
Sourcelte(primitive : Layout::Primitive, strength)
Sourcelte(expression, strength) : Kiwi::Constraint
Sourcelte(expression) : Kiwi::Constraint
Sourcevalue
The final calculated value of the primitive. This is the value you'll use after solving the constraints.
variable
Returns the internal constraint variable. This is used by the constraint solver to calculate the final value.