title: draw a X letter above image
body: <p>I'm writing for a university project a software in java - javafx but I have some problems in implementing a vote function graphically speaking.</p>
  <p>I have a political party icon like this:</p>
  <p><a href="https://i.stack.imgur.com/jV1K0.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jV1K0.jpg" alt="enter image description here" /></a></p>
  <p>I want in java put a X letter above this icon, to obtain something like this:</p>
  <p><a href="https://i.stack.imgur.com/XRn8r.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XRn8r.jpg" alt="enter image description here" /></a></p>
  <p>My solution could be the possibility to draw one line and other line above the Image, but I don't know how to do.</p>
  <pre><code>package unimi.sysvotes.elettore;
  
  import java.io.File;
  import java.io.IOException;
  
  import javafx.fxml.FXML;
  import javafx.scene.image.Image;
  import javafx.scene.image.ImageView;
  import javafx.scene.input.MouseEvent;
  import javafx.scene.layout.Pane;
  
  public class VotoController {
      @FXML Pane listaUnoCandidatoUninominale;
      @FXML ImageView listaUnoSimboloUno;
  
      @FXML
      private void initialize() {
          File fileUno = new File(&quot;C:\\Users\\Administrator\\Desktop\\progettazione\\simboli\\popoloDellaLiberta.jpg&quot;);
          
          Image imageUno = new Image(&quot;file:///&quot;+fileUno.getAbsolutePath());
          
          listaUnoSimboloUno.setImage(imageUno);
  
      }
  
      @FXML
      private void listaUnoSimboloUnoAction(MouseEvent me) throws IOException {
          System.out.println(&quot;Votato&quot;);
  
          /*
             How put Two line above ImageView popolo?
           */
  
          Line lineOne = new Line(10, 10, 80, 80);
          lineOne.setFill(null);
          lineOne.setStroke(Color.BLACK);
          lineOne.setStrokeWidth(2);
  
          Line lineTwo = new Line(80, 10, 10, 80);
          lineTwo.setFill(null);
          lineTwo.setStroke(Color.BLACK);
          lineTwo.setStrokeWidth(2);
  
      }
      
  
  }
  </code></pre>