共用方式為


NSTextBlock.DrawBackground(CGRect, NSView, NSRange, NSLayoutManager) 方法

定義

[Foundation.Export("drawBackgroundWithFrame:inView:characterRange:layoutManager:")]
public virtual void DrawBackground (CoreGraphics.CGRect frameRect, AppKit.NSView controlView, Foundation.NSRange charRange, AppKit.NSLayoutManager layoutManager);
abstract member DrawBackground : CoreGraphics.CGRect * AppKit.NSView * Foundation.NSRange * AppKit.NSLayoutManager -> unit
override this.DrawBackground : CoreGraphics.CGRect * AppKit.NSView * Foundation.NSRange * AppKit.NSLayoutManager -> unit

參數

frameRect
CGRect
controlView
NSView
charRange
NSRange
layoutManager
NSLayoutManager
屬性

適用於