static func linearGradient (Gradient, startPoint : CGPoint, endPoint : CGPoint, options: GraphicsContext .GradientOptions ) -> GraphicsContext .Shading
Returns a shading instance that fills a linear (axial) gradient.
static func radialGradient (Gradient, center: CGPoint, startRadius : CGFloat, endRadius : CGFloat, options: GraphicsContext .GradientOptions ) -> GraphicsContext .Shading
Returns a shading instance that fills a radial gradient.