Key

abstract class Key

Known direct subclasses
KeyAttributes

Defines container for a key frame of for storing KeyAttributes.

KeyCycle

Provide the passive data structure to get KeyPosition information form XML

KeyTimeCycle

Defines container for a key frame of for storing KeyTimeCycles.

KeyTrigger

Defines container for a key frame of for storing KeyAttributes.


Base class in an element in a KeyFrame

Summary

Public functions

abstract Unit

Defines method to add a a view to splines derived form this key frame.

abstract Key
Key
copy(src: Key)
Int

Gets the current frame position

Unit

sets the frame position

Unit
setInterpolation(interpolation: HashMap<StringInt>)

Key frame can specify the type of interpolation it wants on various attributes For each string it set it to -1, CurveFit.LINEAR or CurveFit.SPLINE

abstract Unit
setValue(tag: String, value: Any)

Set the value associated with this tag

Key

Public properties

Int

Constants

ALPHA

val ALPHAString

CURVEFIT

val CURVEFITString

CUSTOM

val CUSTOMString

ELEVATION

val ELEVATIONString

MOTIONPROGRESS

val MOTIONPROGRESSString

PIVOT_X

val PIVOT_XString

PIVOT_Y

val PIVOT_YString

PROGRESS

val PROGRESSString

ROTATION

val ROTATIONString

ROTATION_X

val ROTATION_XString

ROTATION_Y

val ROTATION_YString

SCALE_X

val SCALE_XString

SCALE_Y

val SCALE_YString

TRANSITIONEASING

val TRANSITIONEASINGString

TRANSITION_PATH_ROTATE

val TRANSITION_PATH_ROTATEString

TRANSLATION_X

val TRANSLATION_XString

TRANSLATION_Y

val TRANSLATION_YString

TRANSLATION_Z

val TRANSLATION_ZString

VISIBILITY

val VISIBILITYString

WAVE_OFFSET

val WAVE_OFFSETString

WAVE_PERIOD

val WAVE_PERIODString

WAVE_PHASE

val WAVE_PHASEString

WAVE_VARIES_BY

val WAVE_VARIES_BYString

Public functions

addValues

abstract fun addValues(splines: HashMap<StringViewSpline>): Unit

Defines method to add a a view to splines derived form this key frame. The values are written to the spline

Parameters
splines: HashMap<StringViewSpline>

splines to write values to

clone

abstract fun clone(): Key

copy

fun copy(src: Key): Key

getFramePosition

fun getFramePosition(): Int

Gets the current frame position

Returns
Int

setFramePosition

fun setFramePosition(pos: Int): Unit

sets the frame position

Parameters
pos: Int

setInterpolation

fun setInterpolation(interpolation: HashMap<StringInt>): Unit

Key frame can specify the type of interpolation it wants on various attributes For each string it set it to -1, CurveFit.LINEAR or CurveFit.SPLINE

Parameters
interpolation: HashMap<StringInt>

setValue

abstract fun setValue(tag: String, value: Any): Unit

Set the value associated with this tag

Parameters
tag: String
value: Any

setViewId

fun setViewId(id: Int): Key

Public properties

UNSET

val UNSETInt