什么是Monotouch中的UIRectFill()?

Kru*_*lur 3 uikit xamarin.ios

在重载的drawRect中的几个ObjC项目中:我看到过UIRectFill()使用过的方法.它在做什么以及它在Monotouch中的相同之处是什么?

例如,在这里,它将填充的矩形放在/ wher是否将其绘制为:

CGRect borderRect = bounds;
UIRectFill(borderRect);
borderRect.origin.x = CGRectGetMaxX(bounds) - borderThickness;
UIRectFill(borderRect);
Run Code Online (Sandbox Code Playgroud)

Rol*_*nge 8

你在找UIKit.UIGraphics.RectFill.