共用方式為


NSGradient.DrawInRect 方法

定義

多載

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

參數

rect
CGRect
relativeCenterPosition
CGPoint
屬性

適用於

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

參數

rect
CGRect
angle
nfloat
屬性

適用於