Edit

Share via


NSGradient.DrawInRect Method

Definition

Overloads

DrawInRect(CGRect, CGPoint)
DrawInRect(CGRect, nfloat)

DrawInRect(CGRect, CGPoint)

[Foundation.Export("drawInRect:relativeCenterPosition:")]
public virtual void DrawInRect (CoreGraphics.CGRect rect, CoreGraphics.CGPoint relativeCenterPosition);
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:")]
public virtual void DrawInRect (CoreGraphics.CGRect rect, nfloat angle);
abstract member DrawInRect : CoreGraphics.CGRect * nfloat -> unit
override this.DrawInRect : CoreGraphics.CGRect * nfloat -> unit

Parameters

rect
CGRect
angle
nfloat
Attributes

Applies to