copyShadow method

void copyShadow(
  1. ActorShadow from,
  2. ActorArtboard resetArtboard
)

Implementation

void copyShadow(ActorShadow from, ActorArtboard resetArtboard) {
  copyBlur(from, resetArtboard);
  offsetX = from.offsetX;
  offsetY = from.offsetY;
  _color[0] = from._color[0];
  _color[1] = from._color[1];
  _color[2] = from._color[2];
  _color[3] = from._color[3];
  blendModeId = from.blendModeId;
}