quicktime.app.image
Interface Transformable

All Known Subinterfaces:
QTDisplaySpace, QTDrawable
All Known Implementing Classes:
TwoDSprite

public interface Transformable

This interface is used so that objects that can have their visual appearance transformed through matrix manipulation can return their current matrix and set a new transformed matrix.


Method Summary
 Matrix getMatrix()
          This method returns the current matrix of the Transformable object.
 QDDimension getOriginalSize()
          This method returns the original size before the transformations specified in the returned matrix are applied.
 void setMatrix(Matrix matrix)
          This method sets the current matrix of the Transformable object to the new matrix.
 

Method Detail

getOriginalSize

public QDDimension getOriginalSize()
                            throws QTException
This method returns the original size before the transformations specified in the returned matrix are applied.
Returns:
the original size

getMatrix

public Matrix getMatrix()
                 throws QTException
This method returns the current matrix of the Transformable object.

setMatrix

public void setMatrix(Matrix matrix)
               throws QTException
This method sets the current matrix of the Transformable object to the new matrix.