|
Ultralight C API 2.0.0
|
#include <AppCore/CAPI/CAPI_Layout.h>
A size or constraint length, as a value plus a unit.
Passed and returned by value. This API is purely numeric– CSS strings never cross the C boundary, so each language binding owns its own literal form.
A zero-initialized ULLayoutSize is unset (the receiving field's default applies), which is distinct from an explicit 0px.
Public Attributes | |
| double | value |
| The numeric value (px, percent points, or flex factor). | |
| unsigned char | unit |
| A ULLayoutSizeUnit value. | |
| unsigned char unit |
A ULLayoutSizeUnit value.
| double value |
The numeric value (px, percent points, or flex factor).