tModLoader v2025.01
A mod to make and play Terraria mods
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
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]