static bool IsTopAligned(OverlayAlignment alignment) { return(alignment == OverlayAlignment.TopLeft || alignment == OverlayAlignment.TopRight); }
static bool IsLeftAligned(OverlayAlignment alignment) { return(alignment == OverlayAlignment.BottomLeft || alignment == OverlayAlignment.TopLeft); }