swftexti.java

来自「flash swf file player」· Java 代码 · 共 52 行

JAVA
52
字号
//// Description://    SWFText Interface//// Authors://    Jonathan Shore <jshore@e-shuppan.com>//    Based on php wrapper developed by <dave@opaque.net>//// Copyright://    Copyright 2001 E-Publishing Group Inc.  Permission is granted to use or//    modify this code provided that the original copyright notice is included.////    This software is distributed with no warranty of liability, merchantability,//    or fitness for a specific purpose.//import SWFObjectI;import SWFFontI;////  SWFText Interface//	text region////  Notes//    -	//public interface SWFTextI extends SWFObjectI {        public void		setFont (SWFFontI font) throws SWFException;    public void		setColor (int r, int g, int b, int alpha);    public void		setColor (SWFColor color);    public void		addString (String text);    public void		setHeight (float height);    public void		setSpacing (float spacing);    public float	getAscent();    public float	getDescent();    public float	getLeading();    public void		moveTo (float x, float y);};    

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?