copyAxisConstraint method

void copyAxisConstraint(
  1. ActorAxisConstraint node,
  2. ActorArtboard resetArtboard
)

Implementation

void copyAxisConstraint(
    ActorAxisConstraint node, ActorArtboard resetArtboard) {
  copyTargetedConstraint(node, resetArtboard);

  _copyX = node._copyX;
  _copyY = node._copyY;
  _enableMinX = node._enableMinX;
  _enableMaxX = node._enableMaxX;
  _enableMinY = node._enableMinY;
  _enableMaxY = node._enableMaxY;
  _offset = node._offset;

  _scaleX = node._scaleX;
  _scaleY = node._scaleY;
  _minX = node._minX;
  _maxX = node._maxX;
  _minY = node._minY;
  _maxY = node._maxY;

  _sourceSpace = node._sourceSpace;
  _destSpace = node._destSpace;
  _minMaxSpace = node._minMaxSpace;
}