示例#1
0
        public static UIImage ImageOfArrowIcon(UIColor strokeColor)
        {
            UIGraphics.BeginImageContextWithOptions(new CGSize(44.0f, 44.0f), false, 0);
            IconGraphics.DrawArrowIcon(strokeColor);

            var imageOfArrowIcon = UIGraphics.GetImageFromCurrentImageContext();

            UIGraphics.EndImageContext();

            return(imageOfArrowIcon);
        }
示例#2
0
 public NextButton()
 {
     SetImage(IconGraphics.ImageOfArrowIcon(Colors.Grey), UIControlState.Normal);
     SetImage(IconGraphics.ImageOfArrowIcon(Colors.SpotColor), UIControlState.Highlighted);
 }
示例#3
0
 public SwapButton()
 {
     SetImage(IconGraphics.ImageOfRefreshIcon(Colors.Grey), UIControlState.Normal);
     SetImage(IconGraphics.ImageOfRefreshIcon(Colors.SpotColor), UIControlState.Highlighted);
 }