Package Dibujables.GeometriaDibujable

Examples of Dibujables.GeometriaDibujable.ContextoGrafico


        DialogoDegradado.degradado = new GradientPaint(lienzo.getLocation(), this.color1, new Point(this.lienzo.getWidth(), 0), this.color2);
        DialogoDegradado.degradadoAmpliado = new GradientPaint(new Point(cuartoAnchuraLienzo, cuartoAlturaLienzo), this.color1, new Point(3 * cuartoAnchuraLienzo, 3 * this.cuartoAlturaLienzo), this.color2);

        //Creamos el rectangulo que se encargara de dibujar el degradado
        lienzo.addFigura(new RectanguloDibujable(lienzo.getLocation(), lienzo.getWidth() - 1, lienzo.getHeight() - 1,
                new ContextoGrafico(Color.BLACK, null, null, null, degradado)));
    }
View Full Code Here

TOP

Related Classes of Dibujables.GeometriaDibujable.ContextoGrafico

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.