| Value | Meaning | 
|---|---|
| UndefinedGravity | |
| ForgetGravity0 | Don't use gravity.  | 
| NorthWestGravity1 | Position object at top-left of region.  | 
| NorthGravity2 | Position object at top-center of region.  | 
| NorthEastGravity3 | Position object at top-right of region.  | 
| WestGravity4 | Position object at left-center of region.  | 
| CenterGravity5 | Position object at center of region.  | 
| EastGravity6 | Position object at right-center of region.  | 
| SouthWestGravity7 | Position object at left-bottom of region.  | 
| SouthGravity8 | Position object at bottom-center of region.  | 
| SouthEastGravity9 | Position object at bottom-right of region.  | 
| StaticGravity10 | 
Specify positioning of an object (e.g. text, image) within a bounding region (e.g. an image). Gravity provides a convenient way to locate objects irrespective of the size of the bounding region, in other words, you don't need to provide absolute coordinates in order to position an object. A common default for gravity is NorthWestGravity.