this.paint.setColor(this.outlineColor != null ? this.outlineColor.toColorInt() : Color.BLACK); this.canvas.drawText(text, 0, text.length(), x, y, this.paint); this.paint.setColor(this.textColor != null ? this.textColor.toColorInt() : Color.WHITE); this.canvas.drawText(text, 0, text.length(), x, y, this.paint);