internal static TBAnchor WithoutFlags(this TBAnchor a) => a & TBAnchor.All;
internal static bool OppositeY(this TBAnchor a) => 0 != ((int)a & 64);
internal static bool OfScreen(this TBAnchor a) => 0 != ((int)a & 128);
internal static bool OppositeX(this TBAnchor a) => 0 != ((int)a & 32);
internal static bool HasRight(this TBAnchor a) => 0 != ((int)a & 8);
internal static bool HasLeft(this TBAnchor a) => 0 != ((int)a & 4);
internal static bool HasBottom(this TBAnchor a) => 0 != ((int)a & 2);
internal static bool HasTop(this TBAnchor a) => 0 != ((int)a & 1);