DrawReceipt icon indicating copy to clipboard operation
DrawReceipt copied to clipboard

setBackgroundColor not working

Open MustafaAlsihati opened this issue 4 years ago • 0 comments

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);

MustafaAlsihati avatar Jan 20 '21 12:01 MustafaAlsihati