아래와 같은 자바 코딩에서
BufferedImage 와 Graphics2D 를 대체할 수 있는 android API를 찾고 있습니다.
도와주세요~~!! ^^

BufferedImage image = new BufferedImage(500, 500, BufferedImage.TYPE_BYTE_GRAY);
Graphics2D g = (Graphics2D) image.getGraphics();

barcode.draw(g, 10, 56);