Package org.freehep.graphics2d

Examples of org.freehep.graphics2d.VectorGraphics.drawRect()


    g.fillRect(UpperLeftGraph.x, UpperLeftGraph.y, WIDTH + 1, HEIGHT + 1);
    // Sfondo grigio per label informativa
    g.setColor(Color.LIGHT_GRAY);
    g.fillRect(0, 0, UpperRightGraph.x + RIGHT_SPACE, UpperLeftGraph.y - 10);
    g.setColor(Color.BLACK);
    g.drawRect(0, 0, UpperRightGraph.x + RIGHT_SPACE, UpperLeftGraph.y - 10);
    Font fn = new Font("Arial", Font.ITALIC, 16);
    g.setFont(fn);
    g.drawString("Single left click and drag to zoom, single right click to choose scatter options", 50, 20);
    // Bordi neri del grafico
    g.setColor(Color.BLACK);
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.