public GradientMode mode;

Description 描述

Control how the gradient is evaluated.

By default, when sampling the gradient, an interpolated color between 2 keys will be returned.