close static method

Path close(
  1. Size size
)

Implementation

static Path close(Size size) {
  Path path = Path();
  path.moveTo(size.width * 0.2500000, size.height * 0.2000000);
  path.lineTo(size.width * 0.8000000, size.height * 0.7500000);
  path.lineTo(size.width * 0.7500000, size.height * 0.8000000);
  path.lineTo(size.width * 0.2000000, size.height * 0.2500000);
  path.close();
  path.moveTo(size.width * 0.7500000, size.height * 0.2000000);
  path.lineTo(size.width * 0.8000000, size.height * 0.2500000);
  path.lineTo(size.width * 0.2500000, size.height * 0.8000000);
  path.lineTo(size.width * 0.2000000, size.height * 0.7500000);
  path.close();
  return path;
}