read static method

ActorShadow read(
  1. ActorArtboard artboard,
  2. StreamReader reader,
  3. ActorShadow component
)
override

Implementation

static ActorShadow read(
    ActorArtboard artboard, StreamReader reader, ActorShadow component) {
  ActorBlur.read(artboard, reader, component);
  component.offsetX = reader.readFloat32('offsetX');
  component.offsetY = reader.readFloat32('offsetY');
  component._color = reader.readFloat32Array(4, 'color');
  component.blendModeId = reader.readUint8('blendMode');
  return component;
}