(r, g, b, a)
| 667 | } |
| 668 | |
| 669 | function fill(r, g, b, a) { |
| 670 | /* Sets the current fill color for drawing primitives and paths. |
| 671 | */ |
| 672 | if (r !== undefined) { |
| 673 | _ctx.state.fill = (r instanceof Color || r instanceof Gradient)? r.copy() : new Color(r, g, b, a); |
| 674 | } |
| 675 | return _ctx.state.fill; |
| 676 | } |
| 677 | function stroke(r, g, b, a) { |
| 678 | /* Sets the current stroke color. |
| 679 | */ |
nothing calls this directly
no test coverage detected
searching dependent graphs…