StretchLayoutSolver public sealed class StretchLayoutSolver Show allUtility class for solving stretching layouts. AllPropertiesIndexersMethods ObsoleteInherited PropertiesCount#public int Count { get; }Gets the number of elements defined in this solver.Indexersthis[]#public float this[int index] { get; }Gets the size of the element at the given index.Parameters:index (int)MethodsAdd#public void Add(float min, float max, float ideal)Add an element to this layout. Negative dimensions will be clipped to zero.Parameters:min (float)Element minimum size.max (float)Element maximum size.ideal (float)Element ideal size.Round#public void Round()After solving, you may wish to round the layout to pull all the elements to integer coordinates.Solve#public float Solve(float target)Solve the elements given a fixed target size.Parameters:target (float)Target size.Returns: Deviation between computed layout and the target. Negative values indicate the layout is too small, positive values that the layout is too large.