This is a Delphi version of the Yoga Layout Engine by Facebook Open Source.
To get started, try out the YogaPlayground
project.
Other usage samples can be found in the units tests project YogaTests
.
Some behavior can be customized with a couple of conditional defines. See the top of the Neslib.Yoga
unit for information about these defines, as well as some details about the differences compared to the original C++ versions, and some ideas for optimizations.
The Neslib.Yoga
API is very similar to the original C++ API and its derived JavaScript, Java and C# APIs. So the official documentation should answer most questions.
For additional information, look at the playground project and unit tests.
The Delphi version is based on version 1.10.0 of the original version.
Neslib.Yoga is licensed under the Simplified BSD License. See License.txt for details.
The original Yoga software is licensed under the MIT license. See YogaLicense.txt for details.