drawContactor static method

void drawContactor(
  1. PdfGraphics canvas,
  2. double x,
  3. double y, {
  4. double size = 20,
})

Implementation

static void drawContactor(PdfGraphics canvas, double x, double y,
    {double size = 20}) {
  // Rect with "KM" or Coil symbol
  canvas.drawRect(x - (size / 2), y - (size / 4), size, size / 2);
  canvas.strokePath();

  // Diagonals for coil? Or Semi-circle?
  // Switch symbol: |_ / _|
}