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