Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

接口作用

将日志按特定的方式输出到指定的位置,可以按时间等信息做分类。

接口内容

Code Block
languagejava
titleGraphDrawProcessor
package com.fr.stable.fun;

import java.awt.*;

/**
 * 画图的接口,一些特殊的效果或者改进放到这里来
 * Coder: zack
 * Date: 2016/6/1
 * Time: 14:46
 */
public interface GraphDrawProcessor extends Level {
    String XML_TAG = "GraphDrawProcessor";

    int CURRENT_LEVEL = 1;

    void paintImage(Graphics g, int width, int height, Image image,
                    int layout, int hAlign, int vAlign, int specifiedImageWidth, int specifiedImageHeight);
}



    

注册方式

Code Block
languagexml
<extra-core>
   <GraphDrawProcessor class="com.fr.plugin.***.GraphDrawProcessor的实现类"/>
</extra-core>