Property | Type | Description | |
---|---|---|---|
clientArea | |||
safeArea |
Method | Description | |
---|---|---|
Layout ( |
Construct layout object by specify client area. Safe area becomes same size as client area.
|
|
Layout ( |
Construct layout object by specify both client area and safe area.
|
|
Layout ( |
Construct layout object by specify viewport. Safe area becomes same as Viewpoert.TItleSafeArea.
|
|
place ( |
Layouting specified region
|
|
place ( Vector2 size, float horizontalMargin, float verticalMargine, Alignment alignment ) : Vector2 |
Layouting specified region
|
public Layout ( |
||
clientArea | ||
return | System |
public Layout ( |
||
clientArea | ||
safeArea | safe area | |
return | System |
public Layout ( |
||
viewport | ||
return | System |
public place ( |
||
region | placing rectangle | |
horizontalMargin | float | |
verticalMargine | float | |
alignment | Alignment | |
return |
public place ( Vector2 size, float horizontalMargin, float verticalMargine, Alignment alignment ) : Vector2 | ||
size | Vector2 | |
horizontalMargin | float | |
verticalMargine | float | |
alignment | Alignment | |
return | Vector2 |
public Rectangle,Microsoft.Xna.Framework clientArea | ||
return |