【仅供内部供应商使用,不提供对外解答和培训】

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

接口作用

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

接口内容

GraphDrawProcessor
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);
}



    

注册方式

<extra-core>
   <GraphDrawProcessor class="com.fr.plugin.***.GraphDrawProcessor的实现类"/>
</extra-core>
  • No labels