Layout
A constraint based layout framework so you can draw stuff with ease.
Constants
VERSION = "0.2.0"
Instance methods
Solves all of the Primitive values of a block and all of it's children.
Example
solver = Kiwi::Solver.new # cache this somewhere
Layout.solve(my_block, solver)
If you only need to solve once you can skip passing in the solver without losing any performance.
solve(block : Block)
Source