CalculateRect
Declaration
public abstract Rect CalculateRect(int viewportWidth, int viewportHeight, ScreenOrientation orientation)
Parameters
| Name | Type | Summary |
|---|---|---|
| viewportWidth | int | The pixel width of the viewport. |
| viewportHeight | int | The pixel height of the viewport. |
| orientation | ScreenOrientation | The orientation of the viewport. |