共用方式為


NSGradient.DrawFromPoint(CGPoint, CGPoint, NSGradientDrawingOptions) 方法

定義

[Foundation.Export("drawFromPoint:toPoint:options:")]
public virtual void DrawFromPoint (CoreGraphics.CGPoint startingPoint, CoreGraphics.CGPoint endingPoint, AppKit.NSGradientDrawingOptions options);
abstract member DrawFromPoint : CoreGraphics.CGPoint * CoreGraphics.CGPoint * AppKit.NSGradientDrawingOptions -> unit
override this.DrawFromPoint : CoreGraphics.CGPoint * CoreGraphics.CGPoint * AppKit.NSGradientDrawingOptions -> unit

參數

startingPoint
CGPoint
endingPoint
CGPoint
屬性

適用於