Draw with image instead of colour?

Hello?

I am curious if anyone has found a way to “draw with an image” meaning the text and buttons could theoretically show through a solid background, to an image of color palette?

I believe it would add texture, however, every drawing method would have to be inverted.

Do you know where I could get started? Maybe draw everything with white then replace all white on screen to the pixel color of the palette image by correlating coordinate?

g.setTiledImageFill (image,
0 - 0 + x,
0 - 0 + y,
1.0000f);