![]()  | 
  
    CUGL 1.2
    
   Cornell University Game Library 
   | 
 
#include <CUAnchoredLayout.h>
Public Attributes | |
| float | x_offset | 
| float | y_offset | 
| Anchor | anchor | 
| bool | absolute | 
This inner class stores the layout information as a struct.
Offsets may either be absolute or relative. A relative offset is expressed as a percentage of width or height. An absolute offset is expressed in terms of Node coordinates.
| bool cugl::AnchoredLayout::Entry::absolute | 
Whether to use an absolute offset instead of a relative (percentage) one
| Anchor cugl::AnchoredLayout::Entry::anchor | 
The associated anchor point
| float cugl::AnchoredLayout::Entry::x_offset | 
The x offset from the anchor in absolute or relative units
| float cugl::AnchoredLayout::Entry::y_offset | 
The y offset from the anchor in absolute or relative units
 1.8.10