Class RMFlashTextShape

  • All Implemented Interfaces:
    RMArchiver.Archiving, java.lang.Cloneable

    public class RMFlashTextShape
    extends RMFlashShape
    This class writes an RMText shape to flash.
    • Constructor Detail

      • RMFlashTextShape

        public RMFlashTextShape​(RMShape aShape)
        Creates a new flash text shape from an RMText.
    • Method Detail

      • getText

        public RMText getText()
        Returns the flash shape's RMShape as an RMText.
      • getFragShapeCount

        public int getFragShapeCount()
        Returns the number of frag shapes.
      • getFragShape

        public RMFlashShape getFragShape​(int anIndex)
        Returns the specific frag shape at the given index.
      • getColor

        public RMColor getColor()
        Returns the text color of the RMText for the first char.
        Overrides:
        getColor in class RMFlashShape
      • getColorZero

        public RMColor getColorZero()
        Returns the text color of the RMText for the first char at time zero.
        Overrides:
        getColorZero in class RMFlashShape
      • defineFlash

        public void defineFlash​(RMFlash flash)
        Writes flash commands to the given flash object for the encapsulated RMText.
        Overrides:
        defineFlash in class RMFlashShape
      • updateFlash

        public void updateFlash​(RMFlash flash)
        Writes flash commands for the encapsulated RMText for the current time.
        Overrides:
        updateFlash in class RMFlashShape
      • defineFonts

        public static void defineFonts​(RMFlash flash)
      • writeGlyphsForFontName

        public static void writeGlyphsForFontName​(RMFlash flash,
                                                  java.util.Vector glyphs,
                                                  java.lang.String fontName)