DrawReceipt
DrawReceipt copied to clipboard
setBackgroundColor not working
I'm not sure if i understood correctly how setBackgroudColor() works,
i want to add a black background color but it's not working.
receipt .addLine() .addLine() .setBackgroundColor(Color.BLACK) .setColor(Color.WHITE) .setTypeface(rContext, "fonts/Tajawal-Bold.ttf") .addText("### CANCELED ###", true) .setTypeface(rContext, "fonts/Tajawal-Regular.ttf") .addLine() .addLine() .addBlankSpace(15);