|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.util.QTByteObject | +--quicktime.std.movies.TweenData
TweenData is a variable data structure that is used to set tween atom values that are stored in an atom of an AtomContainer with insertChild(... tweenData)
Field Summary | |
static int |
kFixedPointNativeSize
|
static int |
kMatrixNativeSize
|
static int |
kModifierTrackGraphicsModeNativeSize
|
static int |
kQDPointNativeSize
|
static int |
kQDRectNativeSize
|
static int |
kQTFloatDoubleNativeSize
|
static int |
kRGBNativeSize
|
Fields inherited from interface quicktime.jdirect.PrimitivesLib |
JDirect_MacOSX, libraryInstance |
Constructor Summary | |
TweenData(double start,
double end)
Allocates a TweenData object of type kTweenTypeQTFloatDouble from double start and end values |
|
TweenData(float startX,
float startY,
float endX,
float endY)
Allocates a TweenData object of type kTweenTypeFixedPoint from float start and end x and y values |
|
TweenData(int tweenType,
float start,
float end)
Allocates a TweenData object of type kTweenTypeFixed or kTweenTypeQTFloatSingle from float start and end values |
|
TweenData(int start,
int end)
Allocates a TweenData object of type kTweenTypeLong from int start and end values |
|
TweenData(Matrix start,
Matrix end)
Allocates a TweenData object of type kTweenTypeMatrix from Matrix start and end values |
|
TweenData(QDColor start,
QDColor end)
Allocates a TweenData object of type kTweenTypeRGBColor from QDColor start and end values |
|
TweenData(QDColor start,
QDColor end,
int graphicsMode)
Allocates a TweenData object of type kTweenTypeGraphicsModeWithRGBColor from QDColor start and end values and a graphics mode
Only the QDColor fields are interpolated. |
|
TweenData(QDPoint start,
QDPoint end)
Allocates a TweenData object of type kTweenTypePoint from QDPoint start and end values |
|
TweenData(QDRect start,
QDRect end)
Allocates a TweenData object of type kTweenTypeQDRect from QDRect start and end values |
|
TweenData(short start,
short end)
Allocates a TweenData object of type kTweenTypeShort from short start and end values |
Method Summary | |
int |
getType()
The kTweenType type |
Methods inherited from class quicktime.util.QTByteObject |
equals, fromArray, getBytes, getSize, toString |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int kQDPointNativeSize
public static final int kQDRectNativeSize
public static final int kRGBNativeSize
public static final int kModifierTrackGraphicsModeNativeSize
public static final int kMatrixNativeSize
public static final int kFixedPointNativeSize
public static final int kQTFloatDoubleNativeSize
Constructor Detail |
public TweenData(short start, short end) throws QTException
TweenData
object of type kTweenTypeShort
from short
start and end valuesstart
- The interpolation start valueend
- The interpolation end valuepublic TweenData(int start, int end) throws QTException
TweenData
object of type kTweenTypeLong
from int
start and end valuesstart
- The interpolation start valueend
- The interpolation end valuepublic TweenData(int tweenType, float start, float end) throws QTException
TweenData
object of type kTweenTypeFixed
or kTweenTypeQTFloatSingle
from float
start and end valuestweenType
- kTweenTypeFixed or kTweenTypeQTFloatSinglestart
- The interpolation start valueend
- The interpolation end valuepublic TweenData(double start, double end) throws QTException
TweenData
object of type kTweenTypeQTFloatDouble
from double
start and end valuesstart
- The interpolation start valueend
- The interpolation end valuepublic TweenData(QDPoint start, QDPoint end) throws QTException
TweenData
object of type kTweenTypePoint
from QDPoint
start and end valuesstart
- The interpolation start Pointend
- The interpolation end Pointpublic TweenData(QDRect start, QDRect end) throws QTException
TweenData
object of type kTweenTypeQDRect
from QDRect
start and end valuesstart
- The interpolation start Rectend
- The interpolation end Rectpublic TweenData(Matrix start, Matrix end) throws QTException
TweenData
object of type kTweenTypeMatrix
from Matrix
start and end valuesstart
- The interpolation start matrixend
- The interpolation end matrixpublic TweenData(QDColor start, QDColor end) throws QTException
TweenData
object of type kTweenTypeRGBColor
from QDColor
start and end valuesstart
- The interpolation start colorend
- The interpolation end colorpublic TweenData(QDColor start, QDColor end, int graphicsMode) throws QTException
TweenData
object of type kTweenTypeGraphicsModeWithRGBColor
from QDColor
start and end values and a graphics mode
Only the QDColor fields are interpolated.start
- The interpolation start matrixend
- The interpolation end matrixgraphicsMode
- The graphic modepublic TweenData(float startX, float startY, float endX, float endY) throws QTException
TweenData
object of type kTweenTypeFixedPoint
from float
start and end x and y valuesstartX
- The interpolation start x valuestartY
- The interpolation start y valueendX
- The interpolation end x valueendY
- The interpolation end y valueMethod Detail |
public int getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |