```
Finally, you can add callback methods using `after()`:
+
```javascript
rect.animate(3000).move(100, 100).after(function() {
this.animate().attr({ fill: '#f06' });
### Fill
The `fill()` method is a pretty alternative to the `attr()` method:
+
```javascript
rect.fill({ color: '#f06', opacity: 0.6 });
```
+A single hex string will work as well:
+
+```javascript
+rect.fill('#f06');
+```
+
### Stroke
The `stroke()` method is similar to `fill()`:
rect.stroke({ color: '#f06', opacity: 0.6, width: 5 });
```
+Like fill, a single hex string will work as well:
+
+```javascript
+rect.stroke('#f06');
+```
+
### Rotate
The `rotate()` method will automatically rotate elements according to the center of the element: