예제 #1
0
 static bool IsTopAligned(OverlayAlignment alignment)
 {
     return(alignment == OverlayAlignment.TopLeft ||
            alignment == OverlayAlignment.TopRight);
 }
예제 #2
0
 static bool IsLeftAligned(OverlayAlignment alignment)
 {
     return(alignment == OverlayAlignment.BottomLeft ||
            alignment == OverlayAlignment.TopLeft);
 }