Share via


NSTextAttachmentCell.DrawWithFrame 方法

定义

重载

DrawWithFrame(CGRect, NSView, nuint)
DrawWithFrame(CGRect, NSView, nuint, NSLayoutManager)

DrawWithFrame(CGRect, NSView, nuint)

[Foundation.Export("drawWithFrame:inView:characterIndex:")]
public virtual void DrawWithFrame (CoreGraphics.CGRect cellFrame, AppKit.NSView controlView, nuint charIndex);
override this.DrawWithFrame : CoreGraphics.CGRect * AppKit.NSView * nuint -> unit

参数

cellFrame
CGRect
controlView
NSView
charIndex
System.System.UIntPtr System.unativeint
属性

适用于

DrawWithFrame(CGRect, NSView, nuint, NSLayoutManager)

[Foundation.Export("drawWithFrame:inView:characterIndex:layoutManager:")]
public virtual void DrawWithFrame (CoreGraphics.CGRect cellFrame, AppKit.NSView controlView, nuint charIndex, AppKit.NSLayoutManager layoutManager);
override this.DrawWithFrame : CoreGraphics.CGRect * AppKit.NSView * nuint * AppKit.NSLayoutManager -> unit

参数

cellFrame
CGRect
controlView
NSView
charIndex
System.System.UIntPtr System.unativeint
layoutManager
NSLayoutManager
属性

适用于