SetColor sets the current drawing color. Note that fill color and stroke color are the same, so if you want different fill and stroke colors then you must set a color, draw fills, set a new color and then draw lines. The initial color is black. If SetColor is called with a nil color then black is u
(color.Color)
| 44 | // The initial color is black. |
| 45 | // If SetColor is called with a nil color then black is used. |
| 46 | SetColor(color.Color) |
| 47 | |
| 48 | // Rotate applies a rotation transform to the context. |
| 49 | // The parameter is specified in radians. |
no outgoing calls