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

Page tree

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

Skip to end of metadata
Go to start of metadata

接口作用

用来改进帆软内部实现的图像画法,或者满足一些特殊画法需求(比如加签名之类的)

接口内容

GraphDrawProcessor
package com.fr.stable.fun;

import java.awt.*;

/**
 * 画图的接口,一些特殊的效果或者改进放到这里来
 * Coder: zack
 * Date: 2016/6/1
 * Time: 14:46
 */
public interface GraphDrawProcessor extends Immutable {
    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