Utility class for measuring GUIStyles
| C# | Visual Basic | Visual C++ |
public class GUIStyleMeasureUtil
Public Class GUIStyleMeasureUtil
public ref class GUIStyleMeasureUtil
| All Members | Constructors | Methods | |||
| Icon | Member | Description |
|---|---|---|
| GUIStyleMeasureUtil()()()() | Initializes a new instance of the GUIStyleMeasureUtil class | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| MeasureContent(GUIStyle, GUIContent, Single%, Single%) | ||
| MeasureStyle(GUIStyle, Single%, Single%) |
Measures the bounds needed for displaying all aspects of the GUIStyle: 1. fixedWidth, fixedHeight 2. normal.background, hover.background, active.background, focused.background, onNormal.background, onHover.background, onActive.background, onFocused.background | |
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
| Object | |
| GUIStyleMeasureUtil | |