在重载的drawRect中的几个ObjC项目中:我看到过UIRectFill()使用过的方法.它在做什么以及它在Monotouch中的相同之处是什么?
例如,在这里,它将填充的矩形放在/ wher是否将其绘制为:
CGRect borderRect = bounds;
UIRectFill(borderRect);
borderRect.origin.x = CGRectGetMaxX(bounds) - borderThickness;
UIRectFill(borderRect);
Run Code Online (Sandbox Code Playgroud)