public abstract class ScalableTranscoder extends TranscoderBase
Modifier and Type | Field and Description |
---|---|
protected Integer |
scaleGridBottom |
protected Integer |
scaleGridLeft |
protected Integer |
scaleGridRight |
protected Integer |
scaleGridTop |
protected boolean |
scaling |
baseClassQName, byteArrayNamePostfix, CORE_PACKAGE, data, source, swcSource, UTILS_PACKAGE, workspace
Modifier | Constructor and Description |
---|---|
protected |
ScalableTranscoder(EmbedData data,
Workspace workspace) |
Modifier and Type | Method and Description |
---|---|
protected DefineScalingGridTag |
buildScalingGrid() |
protected DefineSpriteTag |
buildSprite(List<ITag> spriteTags,
int frameCount,
DefineScalingGridTag scalingGrid,
Collection<ITag> tags) |
protected boolean |
checkAttributeValues(ISourceLocation location,
Collection<ICompilerProblem> problems)
Verify the attributes are valid for the specific transcoder
|
boolean |
equals(Object o) |
int |
hashCode() |
protected boolean |
setAttribute(EmbedAttribute attribute)
Stores the supported attribute of the transcoder
|
analyze, buildABC, buildAST, buildBinaryDataTag, doTranscode, getBaseClassName, getBaseClassQName, getDataBytes, getDataStream, getTags
protected boolean scaling
protected Integer scaleGridBottom
protected Integer scaleGridLeft
protected Integer scaleGridRight
protected Integer scaleGridTop
protected boolean setAttribute(EmbedAttribute attribute)
TranscoderBase
setAttribute
in class TranscoderBase
protected boolean checkAttributeValues(ISourceLocation location, Collection<ICompilerProblem> problems)
TranscoderBase
checkAttributeValues
in class TranscoderBase
protected DefineScalingGridTag buildScalingGrid()
protected DefineSpriteTag buildSprite(List<ITag> spriteTags, int frameCount, DefineScalingGridTag scalingGrid, Collection<ITag> tags)
public boolean equals(Object o)
equals
in class TranscoderBase
public int hashCode()
hashCode
in class TranscoderBase
Copyright © 2016 The Apache Software Foundation. All rights reserved.