UIView.DrawRect(CGRect, UIViewPrintFormatter) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Developers should override this method if their appr draws the UIView contents.
[Foundation.Export("drawRect:forViewPrintFormatter:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DrawRect (CoreGraphics.CGRect area, UIKit.UIViewPrintFormatter formatter);
abstract member DrawRect : CoreGraphics.CGRect * UIKit.UIViewPrintFormatter -> unit
override this.DrawRect : CoreGraphics.CGRect * UIKit.UIViewPrintFormatter -> unit
Parameters
- area
- CGRect
The area that should be drawn.
- formatter
- UIViewPrintFormatter
- Attributes
Remarks
Developers directly over-riding UIView need not call the base-class implementation.