org.openmali.types.twodee.util
Interface ResizeListener2f


public interface ResizeListener2f

An object that is interested in learning that a Sized2f object has been resized.


Method Summary
 void onObjectResized(Sized2f object, float oldWidth, float oldHeight, float newWidth, float newHeight)
          This event is fired when a Sized2f object was recently resized.
 

Method Detail

onObjectResized

void onObjectResized(Sized2f object,
                     float oldWidth,
                     float oldHeight,
                     float newWidth,
                     float newHeight)
This event is fired when a Sized2f object was recently resized.

Parameters:
object - the object that was just resized
oldWidth - the width of the object before it was resized
oldHeight - the height of the object before it was resized
newWidth - the width of the object now
newHeight - the height of the object now