RuntimeMountedArtboard constructor

RuntimeMountedArtboard(
  1. RuntimeArtboard artboardInstance,
  2. NestedArtboard nestedArtboard
)

Implementation

RuntimeMountedArtboard(this.artboardInstance, this.nestedArtboard) {
  // Store the initial w/h of the artboard and use that as the starting point
  originalArtboardInstanceSize =
      Size(artboardInstance.width, artboardInstance.height);
  artboardInstance.frameOrigin = false;
  artboardInstance.advance(0, nested: true);
}