2
A
回答
6
在drawRect:
方法做:
- (void)drawRect:(CGRect)rect
{
CGContextRef ctx = UIGraphicsGetCurrentContext();
UIGraphicsPushContext(ctx);
CGContextSetRGBFillColor(ctx, 1.0f, 1.0f, 1.0f, 1.0f); // white color
CGContextFillEllipseInRect(ctx, CGRectMake(10.0f, 10.0f, 100.0f, 100.0f)); // a white filled circle with a diameter of 100 pixels, centered in (60, 60)
UIGraphicsPopContext();
}
相关问题
- 1. progress circle UIControll iPhone
- 2. ImageMagick Crop Circle from Circle?
- 3. UIImage in a circle
- 4. iPhone UIView资源
- 5. iphone:在UIView的
- 6. iphone-uiview-background
- 7. 旋转UIView iPhone
- 8. iPhone UIView和UIImagePickerController
- 9. OpenGL C++ Circle vs Circle Collision
- 10. UIView的动画iPhone
- 11. iPhone动态uiview reording
- 12. UIView Zoomin Zoom in iphone
- 13. Iphone的UIView实现
- 14. iphone-的UIView,弹出
- 15. Circle ProgressBar
- 16. 如何发送uiview到iPhone的另一个uiview的背面iphone
- 17. 当前UIView问题iPhone SDK
- 18. 与iPhone 3GS和UIView的
- 19. iPhone - UIView方向更改
- 20. 的UIView在iPhone旋转
- 21. iPhone中的Quartz Composer UIView
- 22. iPhone自定义UIView边界
- 23. Circle with Triangle Strip
- 24. HTML5 Canvas Circle Text
- 25. istanbul和Circle-CI
- 26. Image of the circle
- 27. GeometricObject和circle类
- 28. Responsive circle image bootstrap
- 29. CSS circle-progress-bar
- 30. Circle to tangent mapping
许多感谢您的慷慨时间来帮助。 – 2010-01-17 23:53:33