swfgradient.java
来自「flash swf file player」· Java 代码 · 共 62 行
JAVA
62 行
//// Description:// SWFGradientI Class//// 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 SWFGradientI;//// SWFGradient Class// gradient//// Notes// - //public class SWFGradient extends SWFObject implements SWFGradientI { public SWFGradient () throws SWFException { setHandle (nNew ()); } protected void finalize() throws Throwable { nDestroy (handle); super.finalize(); } public void addEntry (float ratio, int r, int g, int b, int alpha) { nAddEntry (handle, ratio, r,g,b, alpha); } // native methods protected native int nNew (); protected native void nDestroy (int handle); protected native void nAddEntry (int handle, float ratio, int r, int g, int b, int alpha);};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?