public class PlaceObjectTag extends Tag implements ICharacterReferrer
PlaceObject
tag in a SWF file.
The PlaceObject
tag adds a character to the display list. The same
character can be added more than once to the display list with a different
depth and transformation matrix.
If a character does not change from frame to frame, you do not need to replace the unchanged character after each frame.
Note: PlaceObject is rarely used in SWF 3 and later versions. It is
superseded by PlaceObject2Tag
and PlaceObject3Tag
.
Modifier and Type | Field and Description |
---|---|
protected ICharacterTag |
character |
protected CXForm |
colorTransform |
protected int |
depth |
protected Matrix |
matrix |
Modifier | Constructor and Description |
---|---|
|
PlaceObjectTag()
Constructor.
|
protected |
PlaceObjectTag(TagType type)
Protected constructor for use by subclasses with other tag types.
|
Modifier and Type | Method and Description |
---|---|
ICharacterTag |
getCharacter() |
CXForm |
getColorTransform() |
int |
getDepth() |
Matrix |
getMatrix() |
Iterable<ICharacterTag> |
getReferences()
Get all the referred tags as an
Iterable . |
void |
setCharacter(ICharacterTag character) |
void |
setColorTransform(CXForm colorTransform) |
void |
setDepth(int depth) |
void |
setMatrix(Matrix matrix) |
description, getTagType, toString
protected ICharacterTag character
protected int depth
protected Matrix matrix
protected CXForm colorTransform
public PlaceObjectTag()
protected PlaceObjectTag(TagType type)
public int getDepth()
public void setDepth(int depth)
public Matrix getMatrix()
public void setMatrix(Matrix matrix)
public CXForm getColorTransform()
public void setColorTransform(CXForm colorTransform)
public Iterable<ICharacterTag> getReferences()
ICharacterReferrer
Iterable
.getReferences
in interface ICharacterReferrer
Iterable
.public void setCharacter(ICharacterTag character)
public ICharacterTag getCharacter()
Copyright © 2016 The Apache Software Foundation. All rights reserved.