Gradient.get

Obtain the value at the given position. If value is before the first point, the first point's color is returned. If value is after the last point, the last point's color is returned.

struct Gradient(Value, Color)
const
get
(
Value value
)

Meta