public class Clip extends Sprite implements Playable
mAtlasFrame, mOffsetX, mOffsetYmFocus, mTouchable, mTouchListener, mTouchPointerIDATT_ASYNC, ATT_SOURCE, mColorBuffer, mTexture, mTextureCoordBuffer, mTextureCoordBufferScaled, mVertexBuffer, TAGATT_ALPHA, ATT_ANIMATOR, ATT_BLEND_MODE, ATT_COLOR, ATT_DEBUG, ATT_ORIGIN_AT_CENTER, ATT_ROTATION, ATT_VISIBLE, mAlive, mAlpha, mAlphaTestEnabled, mAutoUpdateBounds, mBlendFunc, mBounds, mBypassCameraClipping, mColor, mDebugFlags, mFrameDuration, mHasTransformValues, mId, mInvalidateFlags, mManipulators, mMask, mMatrix, mNumManipulators, mOrigin, mParent, mPerspectiveEnabled, mPivot, mPosition, mRotation, mRotationVectorX, mRotationVectorY, mRotationVectorZ, mScale, mScene, mSceneSize, mSize, mSkew, mTransformMatrix, mTransformMatrixValues, mUIConstraint, mVisible, mZLOOP_NONE, LOOP_REPEAT, LOOP_REVERSEFLIP_X, FLIP_YALL, ALPHA, BLEND, BOUNDS, CACHE, CHILDREN, COLOR, DEPTH, FRAME, ORIGIN, PARENT, PARENT_BOUNDS, PERSPECTIVE, PIVOT, POSITION, ROTATION, SCALE, SIZE, SKEW, TEXTURE, TEXTURE_COORDS, TRANSFORM_MATRIX, VERTICES, VISIBILITY, VISUAL| Constructor and Description |
|---|
Clip() |
Clip(AtlasFrameSet frameSet) |
| Modifier and Type | Method and Description |
|---|---|
AtlasFrameSet |
getAtlasFrameSet() |
int |
getCurrentFrame() |
RectF |
getFrameRect(int frame) |
int |
getLoop() |
int |
getNumFrames() |
boolean |
isPlaying() |
protected void |
onClipEnd(AtlasFrameSet frameSet) |
void |
play() |
void |
playAt(int frame) |
void |
setAtlasFrameSet(AtlasFrameSet frameSet) |
void |
setLoop(int type) |
void |
setOriginAtCenter() |
void |
setXMLAttributes(XmlPullParser xmlParser,
UIManager manager) |
void |
stop() |
void |
stopAt(int frame) |
boolean |
update(int deltaTime) |
getAtlasFrame, isSizeToFrame, isSizeToTexture, onTextureLoaded, setAtlasFrame, setSizeToFrame, setSizeToTexture, setTexturedrawWireframe, getTouchListener, hitTest, isTouchable, onTouchEvent, setRect, setSize, setTouchable, setTouchListenerdispose, drawChildren, drawStart, flipTextureCoordBuffer, getColorBuffer, getTexture, getTextureCoordBuffer, getVertexBuffer, onAdded, setColorBuffer, setTextureCoordBuffer, setTextureCoordBuffer, setVertexBuffer, validateTextureCoordBufferaddManipulator, draw, drawBounds, drawEnd, getAlpha, getBlendFunc, getBounds, getColor, getDebugFlags, getFps, getGlobalPosition, getHeight, getId, getInheritedBlendFunc, getInheritedColor, getManipulator, getMask, getMatrix, getNumManipulators, getObjectTree, getOrigin, getParent, getParentMatrix, getPivot, getPosition, getRotation, getScale, getScene, getSceneSize, getSize, getSkew, getUIConstraint, getWidth, getX, getY, getZ, globalToLocal, invalidate, invalidate, isAlive, isAlphaTestEnabled, isAutoUpdateBounds, isBypassCameraClipping, isOriginAtCenter, isPerspectiveEnabled, isVisible, localToGlobal, move, moveTo, onAddedToScene, onCreateChildren, onPreConcatParentMatrix, onRemoved, onRemovedFromScene, queueEvent, removeAllManipulators, removeFromParent, removeManipulator, rotate, setAlive, setAlpha, setAlphaTestEnabled, setAutoUpdateBounds, setBlendFunc, setBypassCameraClipping, setColor, setDebugFlags, setFps, setId, setMask, setOrigin, setOrigin, setPerspectiveEnabled, setPivot, setPivot, setPivotAtCenter, setPosition, setPosition, setRotation, setRotationVector, setScale, setScale, setSize, setSkew, setUIConstraint, setVisible, setX, setY, setZ, shouldDraw, toString, updateBounds, updateChildren, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdraw, isPerspectiveEnabled, onAdded, onCreateChildren, setPerspectiveEnabledaddManipulator, dispose, getAlpha, getBlendFunc, getBounds, getColor, getFps, getId, getInheritedBlendFunc, getInheritedColor, getManipulator, getNumManipulators, getObjectTree, getOrigin, getParent, getPivot, getScene, getSkew, getZ, globalToLocal, invalidate, invalidate, isAlive, isAutoUpdateBounds, isVisible, localToGlobal, onAddedToScene, onRemoved, onRemovedFromScene, queueEvent, removeAllManipulators, removeFromParent, removeManipulator, setAlive, setAlpha, setAutoUpdateBounds, setBlendFunc, setColor, setFps, setId, setOrigin, setOrigin, setPivot, setPivot, setPivotAtCenter, setSkew, setVisible, setZ, shouldDraw, updateBoundsgetHeight, getPosition, getRotation, getScale, getSize, getWidth, getX, getY, move, moveTo, rotate, setPosition, setPosition, setRotation, setScale, setScale, setSize, setX, setYpublic Clip()
public Clip(AtlasFrameSet frameSet)
public void setAtlasFrameSet(AtlasFrameSet frameSet)
public AtlasFrameSet getAtlasFrameSet()
public RectF getFrameRect(int frame)
getFrameRect in interface Playablepublic void setOriginAtCenter()
setOriginAtCenter in interface DisplayablesetOriginAtCenter in class BaseDisplayObjectpublic boolean update(int deltaTime)
update in interface Displayableupdate in class Shapepublic void setLoop(int type)
public int getCurrentFrame()
getCurrentFrame in interface Playablepublic int getNumFrames()
getNumFrames in interface Playableprotected void onClipEnd(AtlasFrameSet frameSet)
public void setXMLAttributes(XmlPullParser xmlParser,
UIManager manager)
setXMLAttributes in interface DisplayObjectsetXMLAttributes in class Rectangular