A class used to hold a size constraint for a specific dimension.
A size constraint is used to limit how large (or small) an object can be, as well as to provide a default size. Flags can also be used to indicate that the object's size should be that of its parent (for example fill its parent), or that the object's size should depend on its children (for example fit its content).
- Note
- Values of -1.0 are used in the floating-point values to indicate 'none specified', which is the default for all floating-point values in this class. Any other negative value is not supported.