// ApplyTo applies the action to the given vg.Canvas. func (a *Comment) ApplyTo(c vg.Canvas) { if c, ok := c.(Commenter); ok { c.Comment(a.Text) } }