ColorStop constructor

const ColorStop(
  1. double t,
  2. Vector4 color
)

Creates a stop placing color (linear RGBA) at normalized time t.

Implementation

const ColorStop(this.t, this.color);