Share via


NSGradient.DrawInRect Method

Definition

Overloads

DrawInRect(CGRect, CGPoint)

[Foundation.Export("drawInRect:relativeCenterPosition:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DrawInRect(CoreGraphics.CGRect rect, CoreGraphics.CGPoint relativeCenterPosition);
[<Foundation.Export("drawInRect:relativeCenterPosition:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DrawInRect : CoreGraphics.CGRect * CoreGraphics.CGPoint -> unit
override this.DrawInRect : CoreGraphics.CGRect * CoreGraphics.CGPoint -> unit

Parameters

rect
CGRect
relativeCenterPosition
CGPoint
Attributes

Applies to

DrawInRect(CGRect, NFloat)

[Foundation.Export("drawInRect:angle:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void DrawInRect(CoreGraphics.CGRect rect, System.Runtime.InteropServices.NFloat angle);
[<Foundation.Export("drawInRect:angle:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member DrawInRect : CoreGraphics.CGRect * System.Runtime.InteropServices.NFloat -> unit
override this.DrawInRect : CoreGraphics.CGRect * System.Runtime.InteropServices.NFloat -> unit

Parameters

rect
CGRect
angle
NFloat
Attributes

Applies to