eDriven Framework API
MeasureStyle Method (style, width, height)
Namespaces ► eDriven.Gui.Util ► GUIStyleMeasureUtil ► MeasureStyle(GUIStyle, Single%, Single%)
eDriven Framework API
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
Declaration Syntax

C# | Visual Basic | Visual C++

    public static void MeasureStyle(
    	GUIStyle style,
    	out float width,
    	out float height
    )

    Public Shared Sub MeasureStyle ( _
    	style As GUIStyle, _
    	<OutAttribute> ByRef width As Single, _
    	<OutAttribute> ByRef height As Single _
    )

    public:
    static void MeasureStyle(
    	GUIStyle^ style,
    	[OutAttribute] float% width,
    	[OutAttribute] float% height
    )

Parameters

style (GUIStyle)

width (Single%)

height (Single%)

Assembly: eDriven.Gui (Module: eDriven.Gui) Version: 2.0.1.0 (2.0.1.0)