This class represents resolution information. Use this and Document.SetResolution if you are targeting different resolutions.
Public Member Functions | |||
| ResolutionInfo (float scale) | |||
| |||
| ResolutionInfo (DesignSize size) | |||
| |||
| ResolutionInfo (string name, float scale) | |||
| The name for this resolution mode, e.g. "ipad". This name is tacked onto the end of image, animation and video files so you can select one at a different resolution. if you don't want this to occur, use background-resolution:fixed-resolution. More... | |||
Public Attributes | |
| string | Name |
| The name for this resolution mode, e.g. "ipad". This name is tacked onto the end of image, animation and video files so you can select one at a different resolution. More... | |
| float | Scale =1f |
| All px values will be multiplied by this scale when this resolution is active. More... | |
|
inline |
| scale | All px values will be multiplied by this scale when this resolution is active. |
|
inline |
| size | The screen will be sized such that the given design size will visually look the best it can on all devices. |
|
inline |
The name for this resolution mode, e.g. "ipad". This name is tacked onto the end of image, animation and video files so you can select one at a different resolution. if you don't want this to occur, use background-resolution:fixed-resolution.
| scale | All px values will be multiplied by this scale when this resolution is active. |
| string PowerUI.ResolutionInfo.Name |
The name for this resolution mode, e.g. "ipad". This name is tacked onto the end of image, animation and video files so you can select one at a different resolution.
| float PowerUI.ResolutionInfo.Scale =1f |
All px values will be multiplied by this scale when this resolution is active.