Space Engineers
Public Member Functions | Public Attributes | Properties | List of all members
Sandbox.Graphics.GUI.MyGuiBorderThickness Struct Reference

Structure specifying thickness of each of the 4 borders of a rectangle. Can be used for margin and padding specification. More...

Public Member Functions

 MyGuiBorderThickness (float val=0f)
 
 MyGuiBorderThickness (float horizontal, float vertical)
 
 MyGuiBorderThickness (float left, float right, float top, float bottom)
 

Public Attributes

float Left
 
float Right
 
float Top
 
float Bottom
 

Properties

float HorizontalSum [get]
 
float VerticalSum [get]
 
Vector2 TopLeftOffset [get]
 
Vector2 TopRightOffset [get]
 
Vector2 BottomLeftOffset [get]
 
Vector2 BottomRightOffset [get]
 
Vector2 SizeChange [get]
 
Vector2 MarginStep [get]
 

Detailed Description

Structure specifying thickness of each of the 4 borders of a rectangle. Can be used for margin and padding specification.

Definition at line 149 of file MyGuiControlBase.cs.

Constructor & Destructor Documentation

Sandbox.Graphics.GUI.MyGuiBorderThickness.MyGuiBorderThickness ( float  val = 0f)
inline

Definition at line 153 of file MyGuiControlBase.cs.

Sandbox.Graphics.GUI.MyGuiBorderThickness.MyGuiBorderThickness ( float  horizontal,
float  vertical 
)
inline

Definition at line 158 of file MyGuiControlBase.cs.

Sandbox.Graphics.GUI.MyGuiBorderThickness.MyGuiBorderThickness ( float  left,
float  right,
float  top,
float  bottom 
)
inline

Definition at line 164 of file MyGuiControlBase.cs.

Member Data Documentation

float Sandbox.Graphics.GUI.MyGuiBorderThickness.Bottom

Definition at line 151 of file MyGuiControlBase.cs.

float Sandbox.Graphics.GUI.MyGuiBorderThickness.Left

Definition at line 151 of file MyGuiControlBase.cs.

float Sandbox.Graphics.GUI.MyGuiBorderThickness.Right

Definition at line 151 of file MyGuiControlBase.cs.

float Sandbox.Graphics.GUI.MyGuiBorderThickness.Top

Definition at line 151 of file MyGuiControlBase.cs.

Property Documentation

Vector2 Sandbox.Graphics.GUI.MyGuiBorderThickness.BottomLeftOffset
get

Definition at line 193 of file MyGuiControlBase.cs.

Vector2 Sandbox.Graphics.GUI.MyGuiBorderThickness.BottomRightOffset
get

Definition at line 198 of file MyGuiControlBase.cs.

float Sandbox.Graphics.GUI.MyGuiBorderThickness.HorizontalSum
get

Definition at line 173 of file MyGuiControlBase.cs.

Vector2 Sandbox.Graphics.GUI.MyGuiBorderThickness.MarginStep
get

Definition at line 208 of file MyGuiControlBase.cs.

Vector2 Sandbox.Graphics.GUI.MyGuiBorderThickness.SizeChange
get

Definition at line 203 of file MyGuiControlBase.cs.

Vector2 Sandbox.Graphics.GUI.MyGuiBorderThickness.TopLeftOffset
get

Definition at line 183 of file MyGuiControlBase.cs.

Vector2 Sandbox.Graphics.GUI.MyGuiBorderThickness.TopRightOffset
get

Definition at line 188 of file MyGuiControlBase.cs.

float Sandbox.Graphics.GUI.MyGuiBorderThickness.VerticalSum
get

Definition at line 178 of file MyGuiControlBase.cs.


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