CGContext.DrawLinearGradient 方法

定义

public void DrawLinearGradient (CoreGraphics.CGGradient gradient, CoreGraphics.CGPoint startPoint, CoreGraphics.CGPoint endPoint, CoreGraphics.CGGradientDrawingOptions options);
member this.DrawLinearGradient : CoreGraphics.CGGradient * CoreGraphics.CGPoint * CoreGraphics.CGPoint * CoreGraphics.CGGradientDrawingOptions -> unit

参数

gradient
CGGradient
startPoint
CGPoint
endPoint
CGPoint

适用于