tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.WorldBuilding.ShapeData Class Reference

Public Member Functions

 ShapeData (ShapeData original)
 
void Add (int x, int y)
 
void Add (ShapeData shapeData, Point localOrigin, Point remoteOrigin)
 
void Clear ()
 
bool Contains (int x, int y)
 
HashSet< Point16GetData ()
 
void Remove (int x, int y)
 
void Subtract (ShapeData shapeData, Point localOrigin, Point remoteOrigin)
 

Static Public Member Functions

static Rectangle GetBounds (Point origin, params ShapeData[] shapes)
 

Properties

int Count [get]