public class CASMorph
extends java.lang.Object
Constructor and Description |
---|
CASMorph(CASMorph morph)
Constructs a copy of the given morph.
|
CASMorph(int name4cc,
float value)
Constructs a shape morph with the given (four-cc) name and amount
value.
|
CASMorph(JAInputStream jins)
Constructs this morph from the given stream.
|
CASMorph(java.lang.String name,
float value)
Constructs a shape morph with the given name and amount value.
|
Modifier and Type | Method and Description |
---|---|
float |
getAmount()
Returns this morph's amount value.
|
int |
getName()
Returns this morph's Four-CC name.
|
boolean |
hasName(int nm4cc)
Indicates whether or not this morph has the given Four-CC name.
|
void |
save(JAOutputStream jouts)
Saves this morph's data to the given stream.
|
void |
saveText(java.io.PrintWriter pwrtr)
Prints a legible form of this morph on the given writer.
|
public CASMorph(java.lang.String name, float value)
public CASMorph(int name4cc, float value)
public CASMorph(CASMorph morph)
public CASMorph(JAInputStream jins) throws java.io.IOException
java.io.IOException
public boolean hasName(int nm4cc)
public int getName()
public float getAmount()
public void save(JAOutputStream jouts) throws java.io.IOException
java.io.IOException
public void saveText(java.io.PrintWriter pwrtr)