다음을 통해 공유


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
특성

적용 대상