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