read static method
Implementation
static GradientColor read(
ActorArtboard artboard, StreamReader reader, GradientColor component) {
ActorPaint.read(artboard, reader, component);
int numStops = reader.readUint8('numColorStops');
Float32List stops = reader.readFloat32Array(numStops * 5, 'colorStops');
component._colorStops = stops;
Vec2D.copyFromList(component._start, reader.readFloat32Array(2, 'start'));
Vec2D.copyFromList(component._end, reader.readFloat32Array(2, 'end'));
return component;
}