Package fm.ak.otse.twod

Examples of fm.ak.otse.twod.Component.rgba()


        for (int i = 0; i < Message.getLineWidth().length; i++) {
            System.out.println("Line " + i + " Message.getLineWidth()[i] " + Message.getLineWidth()[i]);
            Component Strip = new Component("$dialog text strip #" + i, x + 20, y + ((i + 1) * 20), Message.getLineWidth()[i], Message.getFont().getMetrics().Height);
            Strip.index += 1;
            Strip.rgba(0.0784313725490196f, 0.1725490196078431f, 0.2470588235294118f, 255);
            Strips.add(Strip);
        }
       
        ComponentRenderer cr = Otse.getInstance().getComponentRenderer();

View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.