📄 ifilterfactory.as
字号:
package com.example.programmingas3.filterWorkbench
{
import flash.events.Event;
import flash.events.IEventDispatcher;
import flash.filters.BitmapFilter;
// ------- Events -------
[Event(name="change", type="flash.events.Event")]
/**
* Defines the common methods for the filter factory classes used in the FilterWorkbench application.
* Each IFilterFactory implementer has specific properties or methods for setting values for its specific
* filter. The interface's getFilter() method is used to retreive the filter in its current state.
*
* Although it can't be explicitly enforced by the compiler, each IFilterFactory implementer should provide
* a flash.events.Event.CHANGE event indicating that the filter has changed. For this reason IFilterFactory
* implementers must also implement flash.events.IEventDispatcher.
*/
public interface IFilterFactory extends IEventDispatcher
{
function getFilter():BitmapFilter;
function getCode():String;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -