Esempio n. 1
0
 /**
  * Adds the supplied child to the supplied parent at the specified translation. This is generally
  * done as the beginning of a chain of animations, which itself may be delayed or subject to
  * animation barriers.
  */
 public Animation.Action addAt(GroupLayer parent, Layer child, XY pos) {
   return addAt(parent, child, pos.x(), pos.y());
 }
Esempio n. 2
0
 /**
  * Starts a flipbook animation that displays the supplied {@code book} at the specified position
  * in the supplied parent. The intermediate layers created to display the flipbook animation will
  * be destroyed on completion.
  */
 public Animation flipbookAt(GroupLayer parent, XY pos, Flipbook book) {
   return flipbookAt(parent, pos.x(), pos.y(), book);
 }