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 conicGradient (Gradient, center: CGPoint, angle: Angle, options: GraphicsContext .GradientOptions ) -> GraphicsContext .Shading
Returns a shading instance that fills a conic (angular) gradient.