NSRulerView 构造函数

定义

重载

NSRulerView()
NSRulerView(CGRect)
NSRulerView(NSCoder)
NSRulerView(NSObjectFlag)
NSRulerView(IntPtr)
NSRulerView(NSScrollView, NSRulerOrientation)

NSRulerView()

[Foundation.Export("init")]
public NSRulerView();
属性

适用于

NSRulerView(CGRect)

[Foundation.Export("initWithFrame:")]
public NSRulerView(CoreGraphics.CGRect frameRect);
new AppKit.NSRulerView : CoreGraphics.CGRect -> AppKit.NSRulerView

参数

frameRect
CGRect
属性

适用于

NSRulerView(NSCoder)

[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSRulerView(Foundation.NSCoder coder);
new AppKit.NSRulerView : Foundation.NSCoder -> AppKit.NSRulerView

参数

coder
NSCoder
属性

适用于

NSRulerView(NSObjectFlag)

protected NSRulerView(Foundation.NSObjectFlag t);
new AppKit.NSRulerView : Foundation.NSObjectFlag -> AppKit.NSRulerView

参数

适用于

NSRulerView(IntPtr)

protected internal NSRulerView(IntPtr handle);
new AppKit.NSRulerView : nativeint -> AppKit.NSRulerView

参数

handle
IntPtr

nativeint

适用于

NSRulerView(NSScrollView, NSRulerOrientation)

[Foundation.Export("initWithScrollView:orientation:")]
[ObjCRuntime.DesignatedInitializer]
public NSRulerView(AppKit.NSScrollView scrollView, AppKit.NSRulerOrientation orientation);
new AppKit.NSRulerView : AppKit.NSScrollView * AppKit.NSRulerOrientation -> AppKit.NSRulerView

参数

scrollView
NSScrollView
orientation
NSRulerOrientation
属性

适用于