GUIStyle
.CalcScreenSize
Manual
Reference
Scripting
Scripting
>
Runtime Classes
>
GUIStyle
Switch to Component
GUIStyle
.CalcScreenSize
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Attributes
Enumerations
History
Index
GUIStyle
All Members
Variables
active
alignment
border
clipping
contentOffset
fixedHeight
fixedWidth
focused
font
fontSize
fontStyle
hover
imagePosition
lineHeight
margin
name
normal
onActive
onFocused
onHover
onNormal
overflow
padding
stretchHeight
stretchWidth
wordWrap
Constructors
GUIStyle
Functions
CalcHeight
CalcMinMaxWidth
CalcScreenSize
CalcSize
Draw
DrawCursor
DrawWithTextSelection
GetCursorPixelPosition
GetCursorStringIndex
Class Functions
operator GUIStyle
function
CalcScreenSize (contentSize :
Vector2
) :
Vector2
Description
Calculate the size of an element formatted with this style, and a given space to content.