(effect WidgetGraphicsEffect)
| 201 | } |
| 202 | |
| 203 | func (l *WidgetGraphicsEffectList) Add(effect WidgetGraphicsEffect) error { |
| 204 | if effect == nil { |
| 205 | return newError("effect == nil") |
| 206 | } |
| 207 | |
| 208 | return l.Insert(len(l.items), effect) |
| 209 | } |
| 210 | |
| 211 | func (l *WidgetGraphicsEffectList) At(index int) WidgetGraphicsEffect { |
| 212 | return l.items[index] |