init(_:)

Creates a new instance from the specified gradient.

Declaration

init(_ gradient: Gradient)