Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.anotherbigidea.flash.movie
Class Text  view Text download Text.java

java.lang.Object
  extended bycom.anotherbigidea.flash.movie.Symbol
      extended bycom.anotherbigidea.flash.movie.Text

public class Text
extends Symbol

A Text Symbol.


Nested Class Summary
static class Text.Row
          A set of contiguous characters in one font, size and color.
 
Field Summary
protected  boolean hasAlpha
           
protected  Transform matrix
           
protected  java.util.ArrayList rows
           
 
Fields inherited from class com.anotherbigidea.flash.movie.Symbol
id
 
Constructor Summary
Text(Transform matrix)
          Create a Text Symbol which is transformed by the given matrix
 
Method Summary
protected  int defineSymbol(Movie movie, com.anotherbigidea.flash.interfaces.SWFTagTypes timelineWriter, com.anotherbigidea.flash.interfaces.SWFTagTypes definitionWriter)
          Override to provide symbol definition
 java.util.ArrayList getRows()
          Access the list of Row instances.
 Transform getTransform()
          Get the transformation matrix applied to the text
 Text.Row row(Font.Chars chars, com.anotherbigidea.flash.structs.Color color, double x, double y, boolean hasX, boolean hasY)
          Add a contiguous set of characters that have the same font, size, color and vertical position.
 void setTransform(Transform matrix)
           
 
Methods inherited from class com.anotherbigidea.flash.movie.Symbol
define, getId, getNextId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hasAlpha

protected boolean hasAlpha

matrix

protected Transform matrix

rows

protected java.util.ArrayList rows
Constructor Detail

Text

public Text(Transform matrix)
Create a Text Symbol which is transformed by the given matrix

Method Detail

getRows

public java.util.ArrayList getRows()
Access the list of Row instances.


getTransform

public Transform getTransform()
Get the transformation matrix applied to the text


setTransform

public void setTransform(Transform matrix)

row

public Text.Row row(Font.Chars chars,
                    com.anotherbigidea.flash.structs.Color color,
                    double x,
                    double y,
                    boolean hasX,
                    boolean hasY)
Add a contiguous set of characters that have the same font, size, color and vertical position.


defineSymbol

protected int defineSymbol(Movie movie,
                           com.anotherbigidea.flash.interfaces.SWFTagTypes timelineWriter,
                           com.anotherbigidea.flash.interfaces.SWFTagTypes definitionWriter)
                    throws java.io.IOException
Description copied from class: Symbol
Override to provide symbol definition

Specified by:
defineSymbol in class Symbol