1 //
2 // Description:
3 //    SWFText Interface
4 //
5 // Authors:
6 //    Jonathan Shore <jshore@e-shuppan.com>
7 //    Based on php wrapper developed by <dave@opaque.net>
8 //
9 // Copyright:
10 //    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or
11 //    modify this code provided that the original copyright notice is included.
12 //
13 //    This software is distributed with no warranty of liability, merchantability,
14 //    or fitness for a specific purpose.
15 //
16 
17 
18 
19 
20 
21 
22 //
23 //  SWFText Interface
24 //	text region
25 //
26 //  Notes
27 //    -
28 //
29 public interface SWFTextI extends SWFObjectI {
30 
setFont(SWFFontI font)31     public void		setFont (SWFFontI font) throws SWFException;
setColor(int r, int g, int b, int alpha)32     public void		setColor (int r, int g, int b, int alpha);
setColor(SWFColor color)33     public void		setColor (SWFColor color);
34 
addString(String text)35     public void		addString (String text);
36 
setHeight(float height)37     public void		setHeight (float height);
setSpacing(float spacing)38     public void		setSpacing (float spacing);
39 
getAscent()40     public float	getAscent();
getDescent()41     public float	getDescent();
getLeading()42     public float	getLeading();
43 
moveTo(float x, float y)44     public void		moveTo (float x, float y);
45 };
46 
47 
48 
49 
50