public class AnimationMetadataSection extends java.lang.Object implements IMetadataSection
Constructor and Description |
---|
AnimationMetadataSection(java.util.List<AnimationFrame> animationFramesIn,
int frameWidthIn,
int frameHeightIn,
int frameTimeIn,
boolean interpolateIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
frameHasTime(int frame) |
int |
getFrameCount() |
int |
getFrameHeight() |
int |
getFrameIndex(int frame) |
java.util.Set<java.lang.Integer> |
getFrameIndexSet() |
int |
getFrameTime() |
int |
getFrameTimeSingle(int frame) |
int |
getFrameWidth() |
boolean |
isInterpolate() |
public AnimationMetadataSection(java.util.List<AnimationFrame> animationFramesIn, int frameWidthIn, int frameHeightIn, int frameTimeIn, boolean interpolateIn)
public int getFrameHeight()
public int getFrameWidth()
public int getFrameCount()
public int getFrameTime()
public boolean isInterpolate()
public int getFrameTimeSingle(int frame)
public boolean frameHasTime(int frame)
public int getFrameIndex(int frame)
public java.util.Set<java.lang.Integer> getFrameIndexSet()