com.bramosystems.oss.player.core.client.geom
Interface MatrixSupport

All Known Implementing Classes:
Auto, Chromeless, CustomVideoPlayer, DivXPlayer, FlashMediaPlayer, FlashMediaPlayer, FlatVideoPlayer, MatrixSupport, Native, Player, PlayerWrapper, PlaylistSupport, QuickTimePlayer, QuickTimePlayer, VLCPlayer, WinMediaPlayer, YouTube

public interface MatrixSupport

Interface for players that have two-dimensional transformation matrix support.

The transformation matrix allows graphical operations like translation, scaling, rotation and skewing.

Since:
1.1
Author:
Sikirulai Braheem
See Also:
TransformationMatrix

Method Summary
 TransformationMatrix getMatrix()
          Retrieves the current transformation matrix of the player.
 void setMatrix(TransformationMatrix matrix)
          Sets the transformation matrix on the player
 

Method Detail

setMatrix

void setMatrix(TransformationMatrix matrix)
Sets the transformation matrix on the player

Parameters:
matrix - the transformation matrix

getMatrix

TransformationMatrix getMatrix()
Retrieves the current transformation matrix of the player.

Note: Changing the properties of the returned object has no effect on the transformation matrix of the underlying plugin. You will have to call setMatrix(TransformationMatrix) to effect any change.

Returns:
the current transformation matrix


Copyright © 2009-2011. All Rights Reserved.