a property Null safety

Gradient a
final

A Gradient that this GradientPacket stores and represents.

This packet's getters will consider t and use an appropriate lerp() method to interpolate between gradient a and gradient b.

Implementation

final Gradient a, b;