Package com.alibaba.simpleimage.render

Examples of com.alibaba.simpleimage.render.FootnoteDrawTextItem


        doDrawImageText("snow.jpg", "fix-", item);
        doDrawImageText("st.jpg", "fix-", item);
    }

    public void testFootnoteDrawTextItem() throws Exception {
        FootnoteDrawTextItem item = new FootnoteDrawTextItem("阿里巴巴网络(中国)有限公司", "cheneychenc.alibaba.com.cn");
        doDrawImageText("334.jpg", "footnote-", item);
        doDrawImageText("yuan.jpg", "footnote-", item);
        doDrawImageText("snow.jpg", "footnote-", item);
        doDrawImageText("st.jpg", "footnote-", item);
    }
View Full Code Here


            DrawTextItem mainTextItem = new FixDrawTextItem(mainTxt);
            textItems.add(mainTextItem);
        }

        if (drawFootTxt) {
            DrawTextItem footTextItem = new FootnoteDrawTextItem(mainTxt, "www.alibaba.com.cn");
            textItems.add(footTextItem);
        }

        DrawTextParameter dtp = new DrawTextParameter(textItems);
View Full Code Here

                DrawTextItem mainTextItem = new FixDrawTextItem(mainTxt);
                textItems.add(mainTextItem);
            }

            if (drawFootTxt) {
                DrawTextItem footTextItem = new FootnoteDrawTextItem(mainTxt, "www.alibaba.com.cn");
                textItems.add(footTextItem);
            }

            DrawTextParameter dtp = new DrawTextParameter(textItems);
View Full Code Here

TOP

Related Classes of com.alibaba.simpleimage.render.FootnoteDrawTextItem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.