Class Layout
  
  
  
    - Namespace
 - Lime
 
  - Assembly
 - Lime.dll
 
   
  
  
  
    [AllowedComponentOwnerTypes(new Type[] { typeof(Widget) })]
public class Layout : NodeComponent, IDisposable, IAnimable, ILayout
   
  
    - Inheritance
 
    - 
      
      
      
      
Layout
     
  
  
    - Implements
 
    - 
      
      
      
    
 
  
  
    - Derived
 
    - 
      
      
      
      
      
    
 
  
  
    - Inherited Members
 
    - 
    
    
    
    
    
    
    
    
    
    
    
    
    
  
 
  
    - Extension Methods
 
    - 
  
  
  
 
  Constructors
  
  
  Layout()
  
  
  
  
  
  Properties
  
  
  Alignment
  
  
  
  
  
    public Alignment Alignment { get; set; }
   
  Property Value
  
    - Alignment
 
    
  
  
  
  ArrangementValid
  
  
  
  
  
    public bool ArrangementValid { get; protected set; }
   
  Property Value
  
    - bool
 
    
  
  
  
  ColumnAlignment
  
  
  
  
  
    [YuzuMember]
public VAlignment ColumnAlignment { get; set; }
   
  Property Value
  
    - VAlignment
 
    
  
  
  
  ConstraintsValid
  
  
  
  
  
    public bool ConstraintsValid { get; protected set; }
   
  Property Value
  
    - bool
 
    
  
  
  
  DebugRectangles
  
  
  
  
  
    public List<Rectangle> DebugRectangles { get; protected set; }
   
  Property Value
  
    - List<Rectangle>
 
    
  
  
  
  IgnoreHidden
  
  
  
  
  
    [YuzuMember]
public bool IgnoreHidden { get; set; }
   
  Property Value
  
    - bool
 
    
  
  
  
  Owner
  
  
  
  
  
    public Widget Owner { get; set; }
   
  Property Value
  
    - Widget
 
    
  
  
  
  RowAlignment
  
  
  
  
  
    [YuzuMember]
public HAlignment RowAlignment { get; set; }
   
  Property Value
  
    - HAlignment
 
    
  
  Methods
  
  
  ArrangeChildren()
  
  
  
  
  
    public virtual void ArrangeChildren()
   
  
  
  CalcAlignmentOffsetAndStride(HAlignment, float, int)
  
  
  
  
  
    protected (float offset, float stride) CalcAlignmentOffsetAndStride(HAlignment rowAlignment, float availableSpace, int widgetCount)
   
  Parameters
  
    rowAlignment HAlignment 
    
    availableSpace float 
    
    widgetCount int 
    
  
  Returns
  
    - (float offset, float stride)
 
    
  
  
  
  CalcAlignmentOffsetAndStride(VAlignment, float, int)
  
  
  
  
  
    protected (float offset, float stride) CalcAlignmentOffsetAndStride(VAlignment columnAlignment, float availableSpace, int widgetCount)
   
  Parameters
  
    columnAlignment VAlignment 
    
    availableSpace float 
    
    widgetCount int 
    
  
  Returns
  
    - (float offset, float stride)
 
    
  
  
  
  GetChildren()
  
  
  
  
  
    protected List<Widget> GetChildren()
   
  Returns
  
    - List<Widget>
 
    
  
  
  
  InvalidateArrangement()
  
  
  
  
  
    public void InvalidateArrangement()
   
  
  
  InvalidateConstraintsAndArrangement()
  
  
  
  
  
    public void InvalidateConstraintsAndArrangement()
   
  
  
  MeasureSizeConstraints()
  
  
  
  
  
    public virtual void MeasureSizeConstraints()
   
  
  
  OnOwnerChanged(Node)
  
  
  
  
  
    protected override void OnOwnerChanged(Node oldOwner)
   
  Parameters
  
    oldOwner Node 
    
  
  
  
  
  
  
    public virtual void OnSizeChanged(Widget widget, Vector2 sizeDelta)
   
  Parameters
  
    widget Widget 
    
    sizeDelta Vector2