/** * Constructs a cursor object using the pixels from a BufferedImage and also the location of the * pointer hot point in the image specified in pixels. * * @param image The BufferedImage that contains the cursor image. * @param xHot The x-coordinate of the cursor hotspot in pixels. * @param yHot The y-coordinate of the cursor hotspot in pixels. */ public Cursor(BufferedImage image, int xHot, int yHot) { this(Texture.fromBufferedImage(image), xHot, yHot); }