read static method

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

Implementation

static ActorShape read(
    ActorArtboard artboard, StreamReader reader, ActorShape component) {
  ActorDrawable.read(artboard, reader, component);
  if (artboard.actor.version >= 22) {
    component._transformAffectsStroke =
        reader.readBool('transformAffectsStroke');
  }

  return component;
}