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
属性

适用于