ApplyTo applies the action to the given vg.Canvas.
(c vg.Canvas)
| 189 | |
| 190 | // ApplyTo applies the action to the given vg.Canvas. |
| 191 | func (a *SetColor) ApplyTo(c vg.Canvas) { |
| 192 | c.SetColor(a.Color) |
| 193 | } |
| 194 | |
| 195 | func (a *SetColor) callerLocation() *callerLocation { |
| 196 | return &a.l |