show warning when using blendMode() with PDF (fixes #5105)

This commit is contained in:
Ben Fry
2018-03-13 20:13:09 -04:00
parent c9b8d89b0b
commit 2ac50a99a5
2 changed files with 17 additions and 8 deletions
@@ -550,6 +550,14 @@ public class PGraphicsPDF extends PGraphicsJava2D {
//
protected void blendModeImpl() {
if (blendMode != BLEND) {
nope("blendMode");
}
}
//
public void copy(int sx1, int sy1, int sx2, int sy2,
int dx1, int dy1, int dx2, int dy2) {
nope("copy");