tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.UI.Alignment Struct Reference

Public Attributes

readonly float HorizontalOffsetMultiplier
 
readonly float VerticalOffsetMultiplier
 

Static Public Attributes

static readonly Alignment Bottom = new Alignment(0.5f, 1f)
 
static readonly Alignment BottomLeft = new Alignment(0f, 1f)
 
static readonly Alignment BottomRight = new Alignment(1f, 1f)
 
static readonly Alignment Center = new Alignment(0.5f, 0.5f)
 
static readonly Alignment Left = new Alignment(0f, 0.5f)
 
static readonly Alignment Right = new Alignment(1f, 0.5f)
 
static readonly Alignment Top = new Alignment(0.5f, 0f)
 
static readonly Alignment TopLeft = new Alignment(0f, 0f)
 
static readonly Alignment TopRight = new Alignment(1f, 0f)
 

Properties

Vector2 OffsetMultiplier [get]