moveRelativeY method

Future<CPCLGenerator> moveRelativeY(
  1. dynamic value
)

行式打印相对纵向移动 RY

Implementation

Future<CPCLGenerator> moveRelativeY(dynamic value) async {
  if (value is num && value < 0) throw ArgumentError('RY偏移不能为负');
  await addCommand('! U1 RY $value');
  return this;
}