public View(Rect frame) : base() { if (this.GetType ().IsSubclassOf (typeof (View))) NativeObject = (IntPtr) ObjCMessaging.objc_msgSendSuper (NativeObject, "initWithFrame:", typeof (IntPtr), typeof (Rect), frame); else throw new ArgumentException ("initWithFrame: directly on NSView is unsupported"); }
public TableView(Rect frame) { NativeObject = (IntPtr) ObjCMessaging.objc_msgSend (NativeObject, "initWithFrame:", typeof (IntPtr), typeof (Rect), frame); }
public void DrawSwatchInRect( Rect rect ) { ObjCMessaging.objc_msgSend (NativeObject, "drawSwatchInRect:", typeof (void), typeof (Rect), rect); }
public Button(Rect frame) : base(frame) { }
public ProgressIndicator(Rect rect) { NativeObject = (IntPtr) ObjCMessaging.objc_msgSend (NativeObject, "initWithFrame:", typeof (IntPtr), typeof (Rect), rect); }
public Window(Rect rect, WindowStyle stylemask, BackingStoreType backingstore, bool defer) { NativeObject = (IntPtr) ObjCMessaging.objc_msgSend (NativeClass.ToIntPtr (), "alloc", typeof (IntPtr)); NativeObject = (IntPtr) ObjCMessaging.objc_msgSend (NativeObject, "initWithContentRect:styleMask:backing:defer:", typeof (IntPtr), typeof (Rect), rect, typeof (int), stylemask, typeof (int), backingstore, typeof (bool), defer); }
public Control(Rect frame) : base(frame) { }
/// <summary> /// Strokes the path of the specified rectangle using the current stroke color and the default drawing attributes /// </summary> /// <remarks> /// The path is drawn beginning at the rectangleÕs origin and proceeding in a /// counterclockwise direction. This method strokes the specified path immediately. /// </remarks> /// <param name="bounds"> /// A rectangle in the current coordinate system. /// </param> public static void StrokeRect(Rect bounds) { ObjCMessaging.objc_msgSend ((IntPtr) ObjCClass.FromType (typeof (BezierPath)).ToIntPtr (), "strokeRect:", typeof (void), typeof (Rect), bounds); }
public OpenGLView(Rect frame) : base(frame) { }
public virtual void OnDrawRect(Rect aRect) { }
/// <summary> /// /// </summary> /// <param name"aRect"></param> public void NeedsDisplay( Rect aRect ) { ObjCMessaging.objc_msgSend (NativeObject, "setNeedsDisplayInRect:", typeof (void), typeof (Rect), aRect); }
public void Invalidate(Rect bounds) { ObjCMessaging.objc_msgSend (NativeObject, "invalidate:", typeof (void), typeof (Rect), bounds); }
public ColorWell(Rect frame) : base(frame) { }
public ImageView(Rect rect) { NativeObject = (IntPtr) ObjCMessaging.objc_msgSend (NativeObject, "initWithFrame:", typeof (IntPtr), typeof (Rect), rect); }
public Controller(Rect frame) : base(frame) { RegisterDragType (Pasteboard.Filenames); }