Example #1
0
 public static void SetOverlayLeftRightUpDown(UIView leftOverlay, UIView rightOverlay, UIView upOverlay, UIView downOverlay)
 {
     KSCardView._addOverlayWithDirection(leftOverlay, KSDirection.Left);
     KSCardView._addOverlayWithDirection(rightOverlay, KSDirection.Right);
     KSCardView._addOverlayWithDirection(upOverlay, KSDirection.Up);
     KSCardView._addOverlayWithDirection(downOverlay, KSDirection.Down);
 }
Example #2
0
 public static void SetCardViewFrame(CGRect frame)
 {
     s_cardFrame = frame;
     s_overlayContainer = new UIView(new CGRect(0, 0, s_cardFrame.Size.Width, s_cardFrame.Size.Height));
 }