|
static bool | Contains (Vector2 position, Vector2 size, float x, float y) |
|
static bool | Intersects (Vector2 aPosition, Vector2 aSize, Vector2 bPosition, Vector2 bSize) |
|
static void | FillRectangle (Vector2 position, Vector2 size, Color color) |
|
static void | OutsideBorder (Vector2 normalizedPosition, Vector2 normalizedSize, int pixelWidth, Color color, bool top=true, bool bottom=true, bool left=true, bool right=true) |
|
static void | InsideBorder (Vector2 normalizedPosition, Vector2 normalizedSize, int pixelWidth, Color color, bool top=true, bool bottom=true, bool left=true, bool right=true) |
|
static void | Border (Vector2 normalizedPosition, Vector2 normalizedSize, int pixelWidth, Color color, bool top=true, bool bottom=true, bool left=true, bool right=true, Vector2?normalizedOffset=null) |
|
static Vector2 | GetOffset (Vector2 basePosition, Vector2 baseSize, Vector2 itemPosition, Vector2 itemSize) |
|
Definition at line 134 of file MyGuiControlTreeView.cs.
static void Sandbox.Graphics.GUI.MyGUIHelper.Border |
( |
Vector2 |
normalizedPosition, |
|
|
Vector2 |
normalizedSize, |
|
|
int |
pixelWidth, |
|
|
Color |
color, |
|
|
bool |
top = true , |
|
|
bool |
bottom = true , |
|
|
bool |
left = true , |
|
|
bool |
right = true , |
|
|
Vector2? |
normalizedOffset = null |
|
) |
| |
|
inlinestatic |
static bool Sandbox.Graphics.GUI.MyGUIHelper.Contains |
( |
Vector2 |
position, |
|
|
Vector2 |
size, |
|
|
float |
x, |
|
|
float |
y |
|
) |
| |
|
inlinestatic |
static void Sandbox.Graphics.GUI.MyGUIHelper.FillRectangle |
( |
Vector2 |
position, |
|
|
Vector2 |
size, |
|
|
Color |
color |
|
) |
| |
|
inlinestatic |
static void Sandbox.Graphics.GUI.MyGUIHelper.InsideBorder |
( |
Vector2 |
normalizedPosition, |
|
|
Vector2 |
normalizedSize, |
|
|
int |
pixelWidth, |
|
|
Color |
color, |
|
|
bool |
top = true , |
|
|
bool |
bottom = true , |
|
|
bool |
left = true , |
|
|
bool |
right = true |
|
) |
| |
|
inlinestatic |
static void Sandbox.Graphics.GUI.MyGUIHelper.OutsideBorder |
( |
Vector2 |
normalizedPosition, |
|
|
Vector2 |
normalizedSize, |
|
|
int |
pixelWidth, |
|
|
Color |
color, |
|
|
bool |
top = true , |
|
|
bool |
bottom = true , |
|
|
bool |
left = true , |
|
|
bool |
right = true |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: