Space Engineers
Static Public Member Functions | List of all members
Sandbox.Graphics.GUI.MyGUIHelper Class Reference

Static Public Member Functions

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)
 

Detailed Description

Definition at line 134 of file MyGuiControlTreeView.cs.

Member Function Documentation

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

Definition at line 199 of file MyGuiControlTreeView.cs.

static bool Sandbox.Graphics.GUI.MyGUIHelper.Contains ( Vector2  position,
Vector2  size,
float  x,
float  y 
)
inlinestatic

Definition at line 136 of file MyGuiControlTreeView.cs.

static void Sandbox.Graphics.GUI.MyGUIHelper.FillRectangle ( Vector2  position,
Vector2  size,
Color  color 
)
inlinestatic

Definition at line 151 of file MyGuiControlTreeView.cs.

static Vector2 Sandbox.Graphics.GUI.MyGUIHelper.GetOffset ( Vector2  basePosition,
Vector2  baseSize,
Vector2  itemPosition,
Vector2  itemSize 
)
inlinestatic

Definition at line 205 of file MyGuiControlTreeView.cs.

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

Definition at line 193 of file MyGuiControlTreeView.cs.

static bool Sandbox.Graphics.GUI.MyGUIHelper.Intersects ( Vector2  aPosition,
Vector2  aSize,
Vector2  bPosition,
Vector2  bSize 
)
inlinestatic

Definition at line 142 of file MyGuiControlTreeView.cs.

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

Definition at line 187 of file MyGuiControlTreeView.cs.


The documentation for this class was generated from the following file: