(actor: Clutter.Actor)
| 26 | } |
| 27 | |
| 28 | getTransformedBox(actor: Clutter.Actor) { |
| 29 | const box = new Clutter.ActorBox(); |
| 30 | box.x1 = actor.x + actor.translation_x; |
| 31 | box.x2 = box.x1 + actor.width; |
| 32 | box.y1 = actor.y + actor.translation_y; |
| 33 | box.y2 = box.y1 + actor.height; |
| 34 | return box; |
| 35 | } |
| 36 | |
| 37 | /** Starts a transition. |
| 38 | * |