Sets the Paint attribute for the EpsGraphics2D object. Only Paint objects of type Color are respected by EpsGraphics2D.
(Paint paint)
| 587 | * objects of type Color are respected by EpsGraphics2D. |
| 588 | */ |
| 589 | @Override |
| 590 | public void setPaint(Paint paint) { |
| 591 | _paint = paint; |
| 592 | if(paint instanceof Color) { |
| 593 | setColor((Color) paint); |
| 594 | } |
| 595 | } |
| 596 | |
| 597 | /** |
| 598 | * Sets the stroke. Only accepts BasicStroke objects (or subclasses of |
no test coverage detected