read static method

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

Implementation

static ActorStar read(
    ActorArtboard artboard, StreamReader reader, ActorStar component) {
  ActorNode.read(artboard, reader, component);

  component.width = reader.readFloat32('width');
  component.height = reader.readFloat32('height');
  component._numPoints = reader.readUint32('points');
  component._innerRadius = reader.readFloat32('innerRadius');
  return component;
}