|
static GUIStyle | Add (this GUIStyle style, params object[] formats) |
| Adds the given formats to the style. You can pass any of these types of values:
-
Format:RichText, WordWrap
-
FontStyle:Font style
-
TextAnchor:Content anchor
-
int:Font size
-
Color/DeSkinColor:Font color
More...
|
|
static GUIStyle | Background (this GUIStyle style, Texture2D background, Texture2D pressBackground=null) |
| Sets the background of the style More...
|
|
static GUIStyle | Border (this GUIStyle style, RectOffset border) |
| Sets the border of the style More...
|
|
static GUIStyle | Border (this GUIStyle style, int left, int right, int top, int bottom) |
| Sets the border of the style More...
|
|
static GUIStyle | Clone (this GUIStyle style, params object[] formats) |
| Clones the style and adds the given formats to it. You can pass any of these types of values:
-
Format:Rich-text, wordwrap
-
FontStyle:Font style
-
TextAnchor:Content anchor
-
int:Font size
-
Color/DeSkinColor:Font color
More...
|
|
static GUIStyle | ContentOffset (this GUIStyle style, Vector2 offset) |
| Sets the contentOffset of the style More...
|
|
static GUIStyle | ContentOffset (this GUIStyle style, float offsetX, float offsetY) |
| Sets the contentOffset of the style More...
|
|
static GUIStyle | ContentOffsetX (this GUIStyle style, float offsetX) |
| Sets the X contentOffset of the style More...
|
|
static GUIStyle | ContentOffsetY (this GUIStyle style, float offsetY) |
| Sets the Y contentOffset of the style More...
|
|
static GUIStyle | Height (this GUIStyle style, int height) |
| Sets the fixedHeight of the style More...
|
|
static GUIStyle | Margin (this GUIStyle style, RectOffset margin) |
| Sets the margin of the style More...
|
|
static GUIStyle | Margin (this GUIStyle style, int left, int right, int top, int bottom) |
| Sets the margin of the style More...
|
|
static GUIStyle | Margin (this GUIStyle style, int margin) |
| Sets the margin of the style More...
|
|
static GUIStyle | MarginBottom (this GUIStyle style, int bottom) |
| Sets the bottom margin of the style More...
|
|
static GUIStyle | MarginLeft (this GUIStyle style, int left) |
| Sets the left margin of the style More...
|
|
static GUIStyle | MarginRight (this GUIStyle style, int right) |
| Sets the right margin of the style More...
|
|
static GUIStyle | MarginTop (this GUIStyle style, int top) |
| Sets the top margin of the style More...
|
|
static GUIStyle | Overflow (this GUIStyle style, RectOffset overflow) |
| Sets the overflow of the style More...
|
|
static GUIStyle | Overflow (this GUIStyle style, int left, int right, int top, int bottom) |
| Sets the overflow of the style More...
|
|
static GUIStyle | Overflow (this GUIStyle style, int overflow) |
| Sets the overflow of the style More...
|
|
static GUIStyle | OverflowBottom (this GUIStyle style, int bottom) |
| Sets the bottom overflow of the style More...
|
|
static GUIStyle | OverflowLeft (this GUIStyle style, int left) |
| Sets the left overflow of the style More...
|
|
static GUIStyle | OverflowRight (this GUIStyle style, int right) |
| Sets the right overflow of the style More...
|
|
static GUIStyle | OverflowTop (this GUIStyle style, int top) |
| Sets the top overflow of the style More...
|
|
static GUIStyle | Padding (this GUIStyle style, RectOffset padding) |
| Sets the padding of the style More...
|
|
static GUIStyle | Padding (this GUIStyle style, int left, int right, int top, int bottom) |
| Sets the padding of the style More...
|
|
static GUIStyle | Padding (this GUIStyle style, int padding) |
| Sets the padding of the style More...
|
|
static GUIStyle | PaddingBottom (this GUIStyle style, int bottom) |
| Sets the bottom padding of the style More...
|
|
static GUIStyle | PaddingLeft (this GUIStyle style, int left) |
| Sets the left padding of the style More...
|
|
static GUIStyle | PaddingRight (this GUIStyle style, int right) |
| Sets the right padding of the style More...
|
|
static GUIStyle | PaddingTop (this GUIStyle style, int top) |
| Sets the top padding of the style More...
|
|
static GUIStyle | StretchHeight (this GUIStyle style, bool doStretch=true) |
| Sets the stretchHeight property of the style More...
|
|
static GUIStyle | StretchWidth (this GUIStyle style, bool doStretch=true) |
| Sets the stretchWidth property of the style More...
|
|
static GUIStyle | Width (this GUIStyle style, float width) |
| Sets the Y fixedWidth of the style More...
|
|