"景先生毕设|www.jxszl.com

C# CGSize类代码示例

2023-12-29 17:42编辑: www.jxszl.com景先生毕设
本文整理汇总了C#中CGSize类的典型用法代码示例。如果您正苦于以下问题:C#CGSize类的具体用法?C#CGSize怎么用?C#CGSize使用的例子?这里精选的类代码示例或许可以为您提供帮助。 示例1:HIPImageCropperView publicHIPImageCropperView(CGRectframe,CGSizecropSize,CropperViewPositionposition,CropHoleTypecropHoleType=CropHoleType.Square) :base(frame) { _maskPosition=position; _cropHoleType=cropHoleType; _cropSize=cropSize; this.BackgroundColor=UIColor.Black; this.AutoresizingMask=UIViewAutoresizing.FlexibleWidth|UIViewAutoresizing.FlexibleHeight; this.ClipsToBounds=true; ScrollView=newUIScrollView(); ImageView=newUIImageView(); OverlayView=newUIView() { UserInteractionEnabled=false, BackgroundColor=UIColor.Black.ColorWithAlpha(0.6f), AutoresizingMask=UIViewAutoresizing.FlexibleWidth|UIViewAutoresizing.FlexibleHeight }; LoadIndicator=newUIActivityIndicatorView(UIActivityIndicatorViewStyle.White) { HidesWhenStopped=true, AutoresizingMask=UIViewAutoresizing.FlexibleLeftMargin| UIViewAutoresizing.FlexibleRightMargin| UIViewAutoresizing.FlexibleBottomMargin| UIViewAutoresizing.FlexibleTopMargin }; }
原文链接:http://www.jxszl.com/biancheng/C/556714.html