read static method

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

Implementation

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

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