共用方式為


CGContext.DrawRadialGradient 方法

定義

public void DrawRadialGradient (CoreGraphics.CGGradient gradient, CoreGraphics.CGPoint startCenter, nfloat startRadius, CoreGraphics.CGPoint endCenter, nfloat endRadius, CoreGraphics.CGGradientDrawingOptions options);
member this.DrawRadialGradient : CoreGraphics.CGGradient * CoreGraphics.CGPoint * nfloat * CoreGraphics.CGPoint * nfloat * CoreGraphics.CGGradientDrawingOptions -> unit

參數

gradient
CGGradient
startCenter
CGPoint
startRadius
nfloat
endCenter
CGPoint
endRadius
nfloat

適用於