read static method

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

Implementation

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

  component.width = reader.readFloat32('width');
  component.height = reader.readFloat32('height');
  component._radius = reader.readFloat32('cornerRadius');
  return component;
}