1 Introducción. Capacidades gráficas de JAVA. Java 2D API. Pintar figuras de 2D Uso y control colores Uso y control de fuentes
|
|
|
- Benjamin Ford
- 10 years ago
- Views:
Transcription
1 Graficos Y Java 2D 1 Introducción 2 Contextos y objetos gráficos 3 Colores 4 Fuentes 5 Pintar Líneas, Rectángulos y Óvalos 6 Pintar Arcos 7 Pintar Polígonos and Polilíneas 8 Java2D API 9 Ejemplo
2 1 Introducción Capacidades gráficas de JAVA Pintar figuras de 2D Uso y control colores Uso y control de fuentes Java 2D API Uso más sofisticado de primitivas de dibujo en 2D Uso de formar y polígonos 2D personalizados Relleno de figuras con colores, gradientes, patrones y texturas.
3 Jerarquía de algunas clases e interfaces del Java2D API. Object Color Component Font FontMetrics Graphics Polygon Clases e interfaces del Java2D API que aparecen en el paquete java.awt Graphics2D interface java.awt.paint BasicStroke GradientPaint TexturePaint Clases e interfaces del Java2D API que aparecen en el paquete java.awt.geom GeneralPath Line2D RectangularShape Arc2D Ellipse2D Rectangle2D RoundRectangle2D interface java.awt.shape interface java.awt.stroke
4 1 Introducción Sistema de coordenadas de JAVA Identifica todos los puntos disponibles de la pantallas Origen de coordenadas (0,0) en la esquina superior izquierda Sistema de coordenadas compuestas por componentes X e Y.
5 Sistema de coordenadas de Java. Unidad de medida en pixels. (0, 0) +x X a xis (x, y ) +y Y a xis
6 2 Contextos y objetos gráficos Contexto Graphics Permite pintar en la pantalla. El objeto Graphics controla el contexto de graficos Controla como se pinta en la pantalla La Clase Graphics es abstracta No se puede instanciar Contribuye a la portabilidad de Java La el método paint de la lase Component emplea el objeto Graphics public void paint( Graphics g ) Se puede invocar por medio del método repaint
7 3 Colores Clase Color Define los métodos y las constantes para manipular los colores. Los colores se crean en base al esquema de rojo/verde/azul (RGB).
8 Constantes de colores definidas en la clase Color Color constant Color RGB value public final static Color ORANGE orange 255, 200, 0 public final static Color PINK pink 255, 175, 175 public final static Color CYAN cyan 0, 255, 255 public final static Color MAGENTA magenta 255, 0, 255 public final static Color YELLOW yellow 255, 255, 0 public final static Color BLACK black 0, 0, 0 public final static Color WHITE white 255, 255, 255 public final static Color GRAY gray 128, 128, 128 public final static Color LIGHT_GRAY light gray 192, 192, 192 public final static Color DARK_GRAY dark gray 64, 64, 64 public final static Color RED red 255, 0, 0 public final static Color GREEN green 0, 255, 0 public final static Color BLUE blue 0, 0, 255
9 Métodos de la clase Color y métodos de relacionados de la clase Graphics Method Description Color constructors and methods public Color( int r, int g, int b ) public Color( float r, float g, float b ) public int getred() public int getgreen() public int getblue() Creates a color based on red, green and blue components expressed as integers from 0 to 255. Creates a color based on red, green and blue components expressed as floatingpoint values from 0.0 to 1.0. Returns a value between 0 and 255 representing the red content. Returns a value between 0 and 255 representing the green content. Returns a value between 0 and 255 representing the blue content. Graphics methods for manipulating Colors public Color getcolor() public void setcolor( Color c ) Returns a Color object representing the current color for the graphics context. Sets the current color for drawing with the graphics context.
10 1 // Fig. 12.5: ShowColors.java 2 // Demonstrating Colors. 3 import java.awt.*; 4 import javax.swing.*; 5 6 public class ShowColors extends JFrame { 7 8 // constructor sets window's title bar string and dimensions 9 public ShowColors() 10 { 11 super( "Using colors" ); setsize( 400, 130 ); 14 setvisible( true ); 15 } // draw rectangles and Strings in different colors 18 public void paint( Graphics g ) 19 { 20 // call superclass's paint method 21 super.paint( g ); // set new drawing color using integers 24 g.setcolor( new Color( 255, 0, 0 ) ); 25 g.fillrect( 25, 25, 100, 20 ); 26 g.drawstring( "Current RGB: " + g.getcolor(), 130, 40 ); 27 Pinta la ventana cuando comienza la ejecución de la aplicación El método setcolor establece el color de pintura en base a un color RGB El método fillrect crea un rectángulo relleno en el color de pintura actual. El método drawstring escribe un String en el color actual en las coordenadas especificadas
11 28 // set new drawing color using floats 29 g.setcolor( new Color( 0.0f, 1.0f, 0.0f ) ); 30 g.fillrect( 25, 50, 100, 20 ); 31 g.drawstring( "Current RGB: " + g.getcolor(), 130, 65 ); // set new drawing color using static Color objects 34 g.setcolor( Color.BLUE ); 35 g.fillrect( 25, 75, 100, 20 ); 36 g.drawstring( "Current RGB: " + g.getcolor(), 130, 90 ); 37 Empleamos las constantes de 38 // display individual RGB values la clase Color 39 Color color = Color.MAGENTA; 40 g.setcolor( color ); 41 g.fillrect( 25, 100, 100, 20 ); 42 g.drawstring( "RGB values: " + color.getred() + ", " + 43 color.getgreen() + ", " + color.getblue(), 130, 115 ); } // end method paint // execute application 48 public static void main( String args[] ) 49 { 50 ShowColors application = new ShowColors(); 51 application.setdefaultcloseoperation( JFrame.EXIT_ON_CLOSE ); 52 } } // end class ShowColors
12 1 // Fig. 12.6: ShowColors2.java 2 // Choosing colors with JColorChooser. 3 import java.awt.*; 4 import java.awt.event.*; 5 import javax.swing.*; 6 7 public class ShowColors2 extends JFrame { 8 private JButton changecolorbutton; 9 private Color color = Color.LIGHT_GRAY; 10 private Container container; // set up GUI 13 public ShowColors2() 14 { 15 super( "Using JColorChooser" ); container = getcontentpane(); 18 container.setlayout( new FlowLayout() ); // set up changecolorbutton and register its event handler 21 changecolorbutton = new JButton( "Change Color" ); 22 changecolorbutton.addactionlistener( 23
13 24 new ActionListener() { // anonymous inner class // display JColorChooser when user clicks button 27 public void actionperformed( ActionEvent event ) 28 { 29 color = JColorChooser.showDialog( 30 ShowColors2.this, "Choose a color", color ); // set default color, if no color is returned 33 if ( color == null ) 34 color = Color.LIGHT_GRAY; // change content pane's background color 37 container.setbackground( color ); 38 } } // end anonymous inner class ); // end call to addactionlistener container.add( changecolorbutton ); setsize( 400, 130 ); JColorChooser presenta un diálogo para seleccionar colores static showdialog muestra el cuadro de diálogo 47 setvisible( true ); } // end ShowColor2 constructor 50
14 51 // execute application 52 public static void main( String args[] ) 53 { 54 ShowColors2 application = new ShowColors2(); 55 application.setdefaultcloseoperation( JFrame.EXIT_ON_CLOSE ); 56 } } // end class ShowColors2
15 ShowColors2.java
16 Fig HSB and RGB tabs of the JColorChooser dialog
17 4 Fuente Clase Font Contiene métodos y constantes para el control de las fuentes. El constructor de la clase Font tiene tres argumentos Font name Monospaced, SansSerif, Serif, etc. Font style Font.PLAIN, Font.ITALIC y Font.BOLD Font size Medido en puntos
18 Métodos y constantes relacionados con la clase Font Method or constant Description Font constants, constructors and methods for drawing polygons public final static int PLAIN public final static int BOLD public final static int A constant representing a plain font style. A constant representing a bold font style. ITALIC A constant representing an italic font style. public Font( String name, int style, int size ) public int getstyle() public int getsize() public String getname() Creates a Font object with the specified font, style and size. Returns an integer value indicating the current font style. Returns an integer value indicating the current font size. Returns the current font name as a string. public String getfamily() Returns the font s family name as a string. public boolean isplain() public boolean isbold() public boolean isitalic() Tests a font for a plain font style. Returns Tests a font for a bold font style. Returns Tests a font for an italic font style. Returns true if the font is plain. true if the font is bold. true if the font is italic. Method or constant Description Graphics methods for manipulating Fonts public Font getfont() public void setfont( Font f ) Returns a Font object reference representing the current font. Sets the current font to the font, style and size specified by the object reference f. Font
19 1 // Fig. 12.9: Fonts.java 2 // Using fonts. 3 import java.awt.*; 4 import javax.swing.*; 5 6 public class Fonts extends JFrame { 7 8 // set window's title bar and dimensions 9 public Fonts() 10 { 11 super( "Using fonts" ); setsize( 420, 125 ); 14 setvisible( true ); 15 } // display Strings in different fonts and colors 18 public void paint( Graphics g ) 19 { 20 // call superclass's paint method 21 super.paint( g ); // set font to Serif (Times), bold, 12pt and draw a string 24 g.setfont( new Font( "Serif", Font.BOLD, 12 ) ); 25 g.drawstring( "Serif 12 point bold.", 20, 50 ); El método setfont establece la fuente a usar Escribe el texto con la configuración actual de fuente
20 26 27 // set font to Monospaced (Courier), italic, 24pt and draw a string 28 g.setfont( new Font( "Monospaced", Font.ITALIC, 24 ) ); 29 g.drawstring( "Monospaced 24 point italic.", 20, 70 ); // set font to SansSerif (Helvetica), plain, 14pt and draw a string 32 g.setfont( new Font( "SansSerif", Font.PLAIN, 14 ) ); 33 g.drawstring( "SansSerif 14 point plain.", 20, 90 ); // set font to Serif (Times), bold/italic, 18pt and draw a string 36 g.setcolor( Color.RED ); 37 g.setfont( new Font( "Serif", Font.BOLD + Font.ITALIC, 18 ) ); 38 g.drawstring( g.getfont().getname() + " " + g.getfont().getsize() + 39 " point bold italic.", 20, 110 ); } // end method paint // execute application 44 public static void main( String args[] ) 45 { 46 Fonts application = new Fonts(); 47 application.setdefaultcloseoperation( JFrame.EXIT_ON_CLOSE ); 48 } } // end class Fonts
21 Control de fuentes Parámetros de medida y posición de las Fuentes Height - Altura Descent (puntos por debajo de la linea base) Ascent (puntos por encima de la linea base) Leading (diferencia entre Ascent y Descent)
22 Control y medidas he ight Xy1Õ asce le ading nt ba seline descent
23 Fig FontMetrics and Graphics methods for obtaining font metrics Method Description FontMetrics methods public int getascent() Returns a value representing the ascent of a font in points. public int getdescent() Returns a value representing the descent of a font in points. public int getleading() Returns a value representing the leading of a font in points. public int getheight() Returns a value representing the height of a font in points. Graphics methods for getting a Font s FontMetrics public FontMetrics getfontmetrics() Returns the FontMetrics object for the current drawing Font. public FontMetrics getfontmetrics( Font f ) Returns the FontMetrics object for the specified Font argument.
24 1 // Fig : Metrics.java 2 // FontMetrics and Graphics methods useful for obtaining font metrics. 3 import java.awt.*; 4 import javax.swing.*; 5 6 public class Metrics extends JFrame { 7 8 // set window's title bar String and dimensions 9 public Metrics() Metrics.java Line 22 Line 23 Set font to SansSerif 12-point bold Obtain FontMetrics object for current font
25 25 g.drawstring( "Ascent: " + metrics.getascent(), 10, 55 ); 26 g.drawstring( "Descent: " + metrics.getdescent(), 10, 70 ); 27 g.drawstring( "Height: " + metrics.getheight(), 10, 85 ); 28 g.drawstring( "Leading: " + metrics.getleading(), 10, 100 ); Font font = new Font( "Serif", Font.ITALIC, 14 ); 31 metrics = g.getfontmetrics( font ); Use FontMetrics to obtain ascent, descent, height and leading Metrics.java Repeat same process for Lines Serif 14-point italic font Lines 30-37
26 Metrics.java
27 5 Pintar Líneas, Rectángulos y Óvalos Clase Graphics Provee métodos para pintar líneas, rectángulos y óvalos Todos lo métodos de pintar estas figuras requieren el ancho y alto que ocuparan Existen los métodos para pintar figuras con o sin rellene (draw* y fill*)
28 Métodos de la clase Graphics para pintar líneas, rectángulos y óvalos Method Description public void drawline( int x1, int y1, int x2, int y2 ) Draws a line between the point (x1, y1) and the point (x2, y2). public void drawrect( int x, int y, int width, int height ) Draws a rectangle of the specified width and height. The top-left corner of the rectangle has the coordinates (x, y). public void fillrect( int x, int y, int width, int height ) Draws a solid rectangle with the specified width and height. The top-left corner of the rectangle has the coordinate (x, y). public void clearrect( int x, int y, int width, int height ) Draws a solid rectangle with the specified width and height in the current background color. The top-left corner of the rectangle has the coordinate (x, y). public void drawroundrect( int x, int y, int width, int height, int arcwidth, int archeight ) Draws a rectangle with rounded corners in the current color with the specified width and height. The arcwidth and archeight determine the rounding of the corners (see Fig ). public void fillroundrect( int x, int y, int width, int height, int arcwidth, int archeight ) Draws a solid rectangle with rounded corners in the current color with the specified width and height. The arcwidth and archeight determine the rounding of the corners (see Fig ).
29 Métodos de la clase Graphics para pintar líneas, rectángulos y óvalos Method Description public void draw3drect( int x, int y, int width, int height, boolean b ) Draws a three-dimensional rectangle in the current color with the specified width and height. The top-left corner of the rectangle has the coordinates ( x, y). The rectangle appears raised when b is true and lowered when b is false. public void fill3drect( int x, int y, int width, int height, boolean b ) Draws a filled three-dimensional rectangle in the current color with the specified width and height. The top-left corner of the rectangle has the coordinates ( x, y). The rectangle appears raised when b is true and lowered when b is false. public void drawoval( int x, int y, int width, int height ) Draws an oval in the current color with the specified width and height. The bounding rectangle s top-left corner is at the coordinates ( x, y). The oval touches all four sides of the bounding rectangle at the center of each side (see Fig ). public void filloval( int x, int y, int width, int height ) Draws a filled oval in the current color with the specified width and height. The bounding rectangle s top-left corner is at the coordinates ( x, y). The oval touches all four sides of the bounding rectangle at the center of each side (see Fig ).
30 1 // Fig : LinesRectsOvals.java 2 // Drawing lines, rectangles and ovals. 3 import java.awt.*; 4 import javax.swing.*; 5 6 public class LinesRectsOvals extends JFrame { 7 8 // set window's title bar String and dimensions 9 public LinesRectsOvals() 10 { 11 super( "Drawing lines, rectangles and ovals" ); setsize( 400, 165 ); 14 setvisible( true ); 15 } // display various lines, rectangles and ovals 18 public void paint( Graphics g ) 19 { 20 super.paint( g ); // call superclass's paint method g.setcolor( Color.RED ); 23 g.drawline( 5, 30, 350, 30 ); g.setcolor( Color.BLUE ); 26 g.drawrect( 5, 40, 90, 55 ); 27 g.fillrect( 100, 40, 90, 55 );
31 28 29 g.setcolor( Color.CYAN ); 30 g.fillroundrect( 195, 40, 90, 55, 50, 50 ); 31 g.drawroundrect( 290, 40, 90, 55, 20, 20 ); g.setcolor( Color.YELLOW ); 34 g.draw3drect( 5, 100, 90, 55, true ); 35 g.fill3drect( 100, 100, 90, 55, false ); g.setcolor( Color.MAGENTA ); 38 g.drawoval( 195, 100, 90, 55 ); Draw oval 39 g.filloval( 290, 100, 90, 55 ); } // end method paint // execute application 44 public static void main( String args[] ) 45 { 46 LinesRectsOvals application = new LinesRectsOvals(); 47 application.setdefaultcloseoperation( JFrame.EXIT_ON_CLOSE ); 48 } } // end class LinesRectsOvals Draw filled rounded rectangle Draw (non-filled) rounded rectangle Draw 3D rectangle Draw filled 3D rectangle Draw filled oval
32 Altura y anchura del arco necesario para construir RoundedRectangle (x, y) arc height a rc width height width
33 Medidas para construir un óvalo en base al rectángulo que lo contiene (x, y ) height width
34 6 Pintar Arcos Arco Porción de un óvalo Se miden en grados Barre (Sweeps) el número de grados que indique el ángulo de arco Sweep empieza en el inicio de medida de los ángulos Barre en sentido contrario a las agujas del reloj si el ángulo es positivo Barre en sentido de las agujas del reloj para ángulos negativos.
35 Ángulos positivos y negativos Positive angles 90 Negative angles
36 Métodos de la clase Graphics para el pintado de arcos Method Description public void drawarc( int x, int y, int width, int height, int startangle, int arcangle ) Draws an arc relative to the bounding rectangle s top-left coordinates (x, y) with the specified width and height. The arc segment is drawn starting at startangle and sweeps arcangle degrees. public void fillarc( int x, int y, int width, int height, int startangle, int arcangle ) Draws a solid arc (i.e., a sector) relative to the bounding rectangle s top-left coordinates (x, y) with the specified width and height. The arc segment is drawn starting at startangle and sweeps arcangle degrees.
37 1 // Fig : DrawArcs.java 2 // Drawing arcs. 3 import java.awt.*; 4 import javax.swing.*; 5 6 public class DrawArcs extends JFrame { 7 8 // set window's title bar String and dimensions 9 public DrawArcs() 10 { 11 super( "Drawing Arcs" ); setsize( 300, 170 ); 14 setvisible( true ); 15 } // draw rectangles and arcs 18 public void paint( Graphics g ) 19 { 20 super.paint( g ); // call superclass's paint method // start at 0 and sweep 360 degrees 23 g.setcolor( Color.YELLOW ); 24 g.drawrect( 15, 35, 80, 80 ); 25 g.setcolor( Color.BLACK ); 26 g.drawarc( 15, 35, 80, 80, 0, 360 ); Draw first arc that sweeps 360 degrees and is contained in rectangle DrawArcs.java Lines 24-26
38 27 28 // start at 0 and sweep 110 degrees 29 g.setcolor( Color.YELLOW ); 30 g.drawrect( 100, 35, 80, 80 ); 31 g.setcolor( Color.BLACK ); 32 g.drawarc( 100, 35, 80, 80, 0, 110 ); // start at 0 and sweep -270 degrees 35 g.setcolor( Color.YELLOW ); 36 g.drawrect( 185, 35, 80, 80 ); 37 g.setcolor( Color.BLACK ); 38 g.drawarc( 185, 35, 80, 80, 0, -270 ); // start at 0 and sweep 360 degrees 41 g.fillarc( 15, 120, 80, 40, 0, 360 ); // start at 270 and sweep -90 degrees 44 g.fillarc( 100, 120, 80, 40, 270, -90 ); // start at 0 and sweep -270 degrees 47 g.fillarc( 185, 120, 80, 40, 0, -270 ); } // end method paint 50 Draw second arc that sweeps 110 degrees and is contained in rectangle Draw third arc that sweeps -270 degrees and is contained in rectangle Draw fourth arc that is filled, has starting angle 0 and sweeps 360 degrees Draw fifth arc that is filled, has starting angle 270 and sweeps -90 degrees Draw sixth arc that is filled, has starting angle 0 and sweeps -270 degrees
39 51 // execute application 52 public static void main( String args[] ) 53 { 54 DrawArcs application = new DrawArcs(); 55 application.setdefaultcloseoperation( JFrame.EXIT_ON_CLOSE ); 56 } } // end class DrawArcs
40 7 Pintar Polígonos y Polilíneas Clases Polygon Polígonos Figuras de varios lados Polilíneas Series de puntos conectados
41 Métodos Graphics para pintar poligonos y métodos de la clase Polygon Method Description Graphics methods for drawing polygons public void drawpolygon( int xpoints[], int ypoints[], int points ) Draws a polygon. The x-coordinate of each point is specified in the xpoints array and the y-coordinate of each point is specified in the ypoints array. The last argument specifies the number of points. This method draws a closed polygon. If the last point is different from the first point, the polygon is closed by a line that connects the last point to the first point. public void drawpolyline( int xpoints[], int ypoints[], int points ) Draws a sequence of connected lines. The x-coordinate of each point is specified in the xpoints array and the y-coordinate of each point is specified in the ypoints array. The last argument specifies the number of points. If the last point is different from the first point, the polyline is not closed. public void drawpolygon( Polygon p ) Draws the specified polygon. public void fillpolygon( int xpoints[], int ypoints[], int points ) Draws a solid polygon. The x-coordinate of each point is specified in the xpoints array and the y-coordinate of each point is specified in the ypoints array. The last argument specifies the number of points. This method draws a closed polygon. If the last point is different from the first point, the polygon is closed by a line that connects the last point to the first point. public void fillpolygon( Polygon p ) Draws the specified solid polygon. The polygon is closed.
42 Métodos Graphics para pintar poligonos y métodos de la clase Polygon Method Description Polygon constructors and methods public Polygon() Constructs a new polygon object. The polygon does not contain any points. public Polygon( int xvalues[], int yvalues[], int numberofpoints ) Constructs a new polygon object. The polygon has numberofpoints sides, with each point consisting of an x-coordinate from xvalues and a y-coordinate from yvalues. public void addpoint( int x, int y ) Adds pairs of x- and y-coordinates to the Polygon.
43 1 // Fig : DrawPolygons.java 2 // Drawing polygons. 3 import java.awt.*; 4 import javax.swing.*; 5 6 public class DrawPolygons extends JFrame { 7 8 // set window's title bar String and dimensions 9 public DrawPolygons() 10 { 11 super( "Drawing Polygons" ); setsize( 275, 230 ); 14 setvisible( true ); 15 } // draw polygons and polylines 18 public void paint( Graphics g ) 19 { 20 super.paint( g ); // call superclass's paint method int xvalues[] = { 20, 40, 50, 30, 20, 15 }; 23 int yvalues[] = { 50, 50, 60, 80, 80, 60 }; 24 Polygon polygon1 = new Polygon( xvalues, yvalues, 6 ); g.drawpolygon( polygon1 ); 27 int arrays specifying Polygon polygon1 points Draw polygon1 to screen
44 28 int xvalues2[] = { 70, 90, 100, 80, 70, 65, 60 }; 29 int yvalues2[] = { 100, 100, 110, 110, 130, 110, 90 }; g.drawpolyline( xvalues2, yvalues2, 7 ); int xvalues3[] = { 120, 140, 150, 190 }; 34 int yvalues3[] = { 40, 70, 80, 60 }; g.fillpolygon( xvalues3, yvalues3, 4 ); Polygon polygon2 = new Polygon(); 39 polygon2.addpoint( 165, 135 ); 40 polygon2.addpoint( 175, 150 ); 41 polygon2.addpoint( 270, 200 ); 42 polygon2.addpoint( 200, 220 ); 43 polygon2.addpoint( 130, 180 ); g.fillpolygon( polygon2 ); } // end method paint // execute application 50 public static void main( String args[] ) 51 { 52 DrawPolygons application = new DrawPolygons(); 53 application.setdefaultcloseoperation( JFrame.EXIT_ON_CLOSE ); 54 } } // end class DrawPolygons int arrays specifying Polyline points Draw Polyline to screen Specify points and draw (filled) Polygon to screen Method addpoint adds pairs of x-y coordinates to a Polygon
45 8 Java2D API Java 2D API Proporciona capacidades gráficas avanzas 2D java.awt java.awt.image java.awt.color java.awt.font java.awt.geom java.awt.print java.awt.image.renderable Usa la clase java.awt.graphics2d Extiende la clase java.awt.graphics
46 12.8 Java2D API Java 2D formas Paquetes java.awt.geom Ellipse2D.Double Rectangle2D.Double RoundRectangle2D.Double Arc3D.Double Lines2D.Double
47 1 // Fig : Shapes.java 2 // Demonstrating some Java2D shapes. 3 import java.awt.*; 4 import java.awt.geom.*; 5 import java.awt.image.*; 6 import javax.swing.*; 7 8 public class Shapes extends JFrame { 9 10 // set window's title bar String and dimensions 11 public Shapes() 12 { 13 super( "Drawing 2D shapes" ); setsize( 425, 160 ); 16 setvisible( true ); 17 } // draw shapes with Java2D API 20 public void paint( Graphics g ) 21 { 22 super.paint( g ); // call superclass's paint method Graphics2D g2d = ( Graphics2D ) g; // cast g to Graphics2D 25 Shapes.java
48 26 // draw 2D ellipse filled with a blue-yellow gradient 27 g2d.setpaint( new GradientPaint( 5, 30, Color.BLUE, 35, 100, 28 Color.YELLOW, true ) ); 29 g2d.fill( new Ellipse2D.Double( 5, 30, 65, 100 ) ); // draw 2D rectangle in red 32 g2d.setpaint( Color.RED ); 33 g2d.setstroke( new BasicStroke( 10.0f ) ); 34 g2d.draw( new Rectangle2D.Double( 80, 30, 65, 100 ) ); // draw 2D rounded rectangle with a buffered background 37 BufferedImage buffimage = new BufferedImage( 10, 10, 38 BufferedImage.TYPE_INT_RGB ); Graphics2D gg = buffimage.creategraphics(); 41 gg.setcolor( Color.YELLOW ); // draw in yellow 42 gg.fillrect( 0, 0, 10, 10 ); // draw a filled rectangle 43 gg.setcolor( Color.BLACK ); // draw in black 44 gg.drawrect( 1, 1, 6, 6 ); // draw a rectangle 45 gg.setcolor( Color.BLUE ); // draw in blue 46 gg.fillrect( 1, 1, 3, 3 ); // draw a filled rectangle 47 gg.setcolor( Color.RED ); // draw in red 48 gg.fillrect( 4, 4, 3, 3 ); // draw a filled rectangle 49 Use GradientPaint to fill shape with gradient Fill ellipse with gradient Use BasicStroke to draw 2D red-border rectangle BufferedImage produces image to be manipulated Draw texture into BufferedImage
49 50 // paint buffimage onto the JFrame 51 g2d.setpaint( new TexturePaint( buffimage, 52 new Rectangle( 10, 10 ) ) ); 53 g2d.fill( new RoundRectangle2D.Double( 155, 30, 75, 100, 50, 50 ) ); // draw 2D pie-shaped arc in white 56 g2d.setpaint( Color.WHITE ); 57 g2d.setstroke( new BasicStroke( 6.0f ) ); 58 g2d.draw( new Arc2D.Double( 240, 30, 75, 100, 0, 270, Arc2D.PIE ) ); // draw 2D lines in green and yellow 61 g2d.setpaint( Color.GREEN ); 62 g2d.draw( new Line2D.Double( 395, 30, 320, 150 ) ); float dashes[] = { 10 }; g2d.setpaint( Color.YELLOW ); 67 g2d.setstroke( new BasicStroke( 4, BasicStroke.CAP_ROUND, 68 BasicStroke.JOIN_ROUND, 10, dashes, 0 ) ); 69 g2d.draw( new Line2D.Double( 320, 30, 395, 150 ) ); } // end method paint 72 Use BufferedImage as texture for painting rounded rectangle Use Arc2D.PIE to draw white-border 2D pie-shaped arc Draw solid green line Draw dashed yellow line that crosses solid green line
50 73 // execute application 74 public static void main( String args[] ) 75 { 76 Shapes application = new Shapes(); 77 application.setdefaultcloseoperation( JFrame.EXIT_ON_CLOSE ); 78 } } // end class Shapes Shapes.java
51 1 // Fig : Shapes2.java 2 // Demonstrating a general path. 3 import java.awt.*; 4 import java.awt.geom.*; 5 import javax.swing.*; 6 7 public class Shapes2 extends JFrame { 8 9 // set window's title bar String, background color and dimensions 10 public Shapes2() 11 { 12 super( "Drawing 2D Shapes" ); getcontentpane().setbackground( Color.WHITE ); 15 setsize( 400, 400 ); 16 setvisible( true ); 17 } // draw general paths 20 public void paint( Graphics g ) 21 { 22 super.paint( g ); // call superclass's paint method int xpoints[] = { 55, 67, 109, 73, 83, 55, 27, 37, 1, 43 }; 25 int ypoints[] = { 0, 36, 36, 54, 96, 72, 96, 54, 36, 36 }; 26 x-y coordinates that comprise star
52 27 Graphics2D g2d = ( Graphics2D ) g; 28 GeneralPath star = new GeneralPath(); // create GeneralPath object // set the initial coordinate of the General Path 31 star.moveto( xpoints[ 0 ], ypoints[ 0 ] ); // create the star--this does not draw the star 34 for ( int count = 1; count < xpoints.length; count++ ) 35 star.lineto( xpoints[ count ], ypoints[ count ] ); star.closepath(); // close the shape g2d.translate( 200, 200 ); // translate the origin to (200, 200) // rotate around origin and draw stars in random colors 42 for ( int count = 1; count <= 20; count++ ) { 43 g2d.rotate( Math.PI / 10.0 ); // rotate coordinate system // set random drawing color 46 g2d.setcolor( new Color( ( int ) ( Math.random() * 256 ), 47 ( int ) ( Math.random() * 256 ), 48 ( int ) ( Math.random() * 256 ) ) ); g2d.fill( star ); // draw filled star 51 } GeneralPath is a shape constructed from straight lines and complex curves Shapes2.java Line 28 Create star Lines Lines Draw filled, randomly colored star 20 times around origin
53 Shapes2.java
Fachbereich Informatik und Elektrotechnik Java Applets. Programming in Java. Java Applets. Programming in Java, Helmut Dispert
Java Applets Programming in Java Java Applets Java Applets applet= app = application snippet = Anwendungsschnipsel An applet is a small program that is intended not to be run on its own, but rather to
Simple Graphics. 2.1 Graphics. In this chapter: Graphics Point Dimension Shape Rectangle Polygon Image MediaTracker
2 Simple Graphics In this chapter: Graphics Point Dimension Shape Rectangle Polygon Image MediaTracker This chapter digs into the meat of the AWT classes. After completing this chapter, you will be able
Interactive Programs and Graphics in Java
Interactive Programs and Graphics in Java Alark Joshi Slide credits: Sami Rollins Announcements Lab 1 is due today Questions/concerns? SVN - Subversion Versioning and revision control system 1. allows
public class Craps extends JFrame implements ActionListener { final int WON = 0,LOST =1, CONTINUE = 2;
Lecture 15 The Game of "Craps" In the game of "craps" a player throws a pair of dice. If the sum on the faces of the pair of dice after the first toss is 7 or 11 the player wins; if the sum on the first
Introduction to Java Applets (Deitel chapter 3)
Introduction to Java Applets (Deitel chapter 3) 1 2 Plan Introduction Sample Applets from the Java 2 Software Development Kit Simple Java Applet: Drawing a String Drawing Strings and Lines Adding Floating-Point
CS 335 Lecture 06 Java Programming GUI and Swing
CS 335 Lecture 06 Java Programming GUI and Swing Java: Basic GUI Components Swing component overview Event handling Inner classes and anonymous inner classes Examples and various components Layouts Panels
Android Programming: 2D Drawing Part 1: Using ondraw
2012 Marty Hall Android Programming: 2D Drawing Part 1: Using ondraw Originals of Slides and Source Code for Examples: http://www.coreservlets.com/android-tutorial/ Customized Java EE Training: http://courses.coreservlets.com/
GUI Components: Part 2
GUI Components: Part 2 JComboBox and Using an Anonymous Inner Class for Event Handling A combo box (or drop-down list) enables the user to select one item from a list. Combo boxes are implemented with
Tema: Encriptación por Transposición
import java.awt.*; import java.awt.event.*; import javax.swing.*; public class PrincipalSO extends JApplet implements ActionListener { // Declaración global JLabel lblclave, lblencriptar, lblencriptado,
5.17 GUI. Xiaoyi Jiang Informatik I Grundlagen der Programmierung
AWT vs. Swing AWT (Abstract Window Toolkit; Package java.awt) Benutzt Steuerelemente des darunterliegenden Betriebssystems Native Code (direkt für die Maschine geschrieben, keine VM); schnell Aussehen
Graphics Module Reference
Graphics Module Reference John M. Zelle Version 4.1, Fall 2010 1 Overview The package graphics.py is a simple object oriented graphics library designed to make it very easy for novice programmers to experiment
Mouse Event Handling (cont.)
GUI Components: Part II Mouse Event Handling (cont.) Each mouse event-handling method receives a MouseEvent object that contains information about the mouse event that occurred, including the x- and y-coordinates
public class Application extends JFrame implements ChangeListener, WindowListener, MouseListener, MouseMotionListener {
Application.java import javax.swing.*; import java.awt.geom.*; import java.awt.event.*; import javax.swing.event.*; import java.util.*; public class Application extends JFrame implements ChangeListener,
Using A Frame for Output
Eventos Roteiro Frames Formatting Output Event Handling Entering Data Using Fields in a Frame Creating a Data Entry Field Using a Field Reading Data in an Event Handler Handling Multiple Button Events
DIA Creating Charts and Diagrams
DIA Creating Charts and Diagrams Dia is a vector-based drawing tool similar to Win32 OS Visio. It is suitable for graphical languages such as dataflow diagrams, entity-relationship diagrams, organization
Graphical User Interfaces
M14_REGE1813_02_SE_C14.qxd 2/10/10 3:43 PM Page 822 Chapter14 Graphical User Interfaces 14.1 GUI Basics Graphical Input and Output with Option Panes Working with Frames Buttons, Text Fields, and Labels
PROGRAMA DE GRAFICACIÓN DE VELOCIDADES EN VENTANAS DE MAPINFO
PROGRAMA DE GRAFICACIÓN DE VELOCIDADES EN VENTANAS DE MAPINFO Module Description: MapBasic program draw polylines using a tab file containing the data about the initial coordinate, azimuth and velocity
How to Convert an Application into an Applet.
How to Convert an Application into an Applet. A java application contains a main method. An applet is a java program part of a web page and runs within a browser. I am going to show you three different
Welcome to CorelDRAW, a comprehensive vector-based drawing and graphic-design program for the graphics professional.
Creating a logo Welcome to CorelDRAW, a comprehensive vector-based drawing and graphic-design program for the graphics professional. In this tutorial, you will create a logo for an imaginary coffee shop.
Simple Line Drawing. Description of the Simple Line Drawing program
Simple Line Drawing Description of the Simple Line Drawing program JPT Techniques Creating and using the ColorView Creating and using the TextAreaView Creating and using the BufferedPanel with graphics
Programming with Java GUI components
Programming with Java GUI components Java includes libraries to provide multi-platform support for Graphic User Interface objects. The multi-platform aspect of this is that you can write a program on a
Beas Inventory location management. Version 23.10.2007
Beas Inventory location management Version 23.10.2007 1. INVENTORY LOCATION MANAGEMENT... 3 2. INTEGRATION... 4 2.1. INTEGRATION INTO SBO... 4 2.2. INTEGRATION INTO BE.AS... 4 3. ACTIVATION... 4 3.1. AUTOMATIC
Green = 0,255,0 (Target Color for E.L. Gray Construction) CIELAB RGB Simulation Result for E.L. Gray Match (43,215,35) Equal Luminance Gray for Green
Red = 255,0,0 (Target Color for E.L. Gray Construction) CIELAB RGB Simulation Result for E.L. Gray Match (184,27,26) Equal Luminance Gray for Red = 255,0,0 (147,147,147) Mean of Observer Matches to Red=255
INTRODUCTION TO COMPUTER PROGRAMMING. Richard Pierse. Class 7: Object-Oriented Programming. Introduction
INTRODUCTION TO COMPUTER PROGRAMMING Richard Pierse Class 7: Object-Oriented Programming Introduction One of the key issues in programming is the reusability of code. Suppose that you have written a program
QUICK REFERENCE: ADOBE ILLUSTRATOR CS2 AND CS3 SECTION 1: CS3 TOOL BOX: PAGE 2 SECTION 2: CS2 TOOL BOX: PAGE 11
QUICK REFERENCE, ADOBE ILLUSTRATOR, PAGE 1 QUICK REFERENCE: ADOBE ILLUSTRATOR CS2 AND CS3 CS2 SECTION 1: CS3 TOOL BOX: PAGE 2 SECTION 2: CS2 TOOL BOX: PAGE 11 SECTION 3: GENERAL CONCEPTS: PAGE 14 SELECTING
Adobe Illustrator CS5 Part 1: Introduction to Illustrator
CALIFORNIA STATE UNIVERSITY, LOS ANGELES INFORMATION TECHNOLOGY SERVICES Adobe Illustrator CS5 Part 1: Introduction to Illustrator Summer 2011, Version 1.0 Table of Contents Introduction...2 Downloading
Problem 1 (1.5 points)
Leganés, June 17th, 2014 Time: 120 min Systems Programming Extraordinary Call (Problems) Grade: 5 points out of 10 from the exam Problem 1 (1.5 points) City councils apply two types of municipal taxes
How Scala Improved Our Java
How Scala Improved Our Java Sam Reid PhET Interactive Simulations University of Colorado http://spot.colorado.edu/~reids/ PhET Interactive Simulations Provides free, open source educational science simulations
The Abstract Windowing Toolkit. Java Foundation Classes. Swing. In April 1997, JavaSoft announced the Java Foundation Classes (JFC).
The Abstract Windowing Toolkit Since Java was first released, its user interface facilities have been a significant weakness The Abstract Windowing Toolkit (AWT) was part of the JDK form the beginning,
Image Processing. In this chapter: ImageObserver ColorModel ImageProducer ImageConsumer ImageFilter
12 In this chapter: ImageObserver ColorModel ImageProducer ImageConsumer ImageFilter Image Processing The image processing parts of Java are buried within the java.awt.image package. The package consists
Lession: 2 Animation Tool: Synfig Card or Page based Icon and Event based Time based Pencil: Synfig Studio: Getting Started: Toolbox Canvas Panels
Lession: 2 Animation Tool: Synfig In previous chapter we learn Multimedia and basic building block of multimedia. To create a multimedia presentation using these building blocks we need application programs
How To Program In Java (Ipt) With A Bean And An Animated Object In A Powerpoint (For A Powerbook)
Graphic Interface Programming II Applets and Beans and animation in Java IT Uppsala universitet Applets Small programs embedded in web pages
Basic AutoSketch Manual
Basic AutoSketch Manual Instruction for students Skf-Manual.doc of 3 Contents BASIC AUTOSKETCH MANUAL... INSTRUCTION FOR STUDENTS... BASIC AUTOSKETCH INSTRUCTION... 3 SCREEN LAYOUT... 3 MENU BAR... 3 FILE
WPF Shapes. WPF Shapes, Canvas, Dialogs 1
WPF Shapes WPF Shapes, Canvas, Dialogs 1 Shapes are elements WPF Shapes, Canvas, Dialogs 2 Shapes draw themselves, no invalidation or repainting needed when shape moves, window is resized, or shape s properties
Web Design with CSS and CSS3. Dr. Jan Stelovsky
Web Design with CSS and CSS3 Dr. Jan Stelovsky CSS Cascading Style Sheets Separate the formatting from the structure Best practice external CSS in a separate file link to a styles from numerous pages Style
User Guide. idraw for Mac OS X v2.5.1
User Guide idraw for Mac OS X v2.5.1 1 Welcome to idraw 6 Vector Illustration 6 Getting Started 8 Creating a New Document 8 Interface Overview 10 Document Tabs 11 Switching Between Documents 11 Closing
Petrel TIPS&TRICKS from SCM
Petrel TIPS&TRICKS from SCM Maps: Knowledge Worth Sharing Map Annotation A map is a graphic representation of some part of the earth. In our industry, it may represent either the surface or sub surface;
// Correntista. //Conta Corrente. package Banco; public class Correntista { String nome, sobrenome; int cpf;
// Correntista public class Correntista { String nome, sobrenome; int cpf; public Correntista(){ nome = "zé"; sobrenome = "Pereira"; cpf = 123456; public void setnome(string n){ nome = n; public void setsobrenome(string
Sample Turtle Programs
Sample Turtle Programs Sample 1: Drawing a square This program draws a square. Default values are used for the turtle s pen color, pen width, body color, etc. import galapagos.*; /** * This sample program
Forest Stewardship Council
PART IV: GRAPHIC RULES 10 FSC LABELS FSC FSC Mix FSC Recycled From responsible sources Made from recycled material Color and font 10.1 Positive green is the standard preferred color. Negative green and
Overview of the Adobe Flash Professional CS6 workspace
Overview of the Adobe Flash Professional CS6 workspace In this guide, you learn how to do the following: Identify the elements of the Adobe Flash Professional CS6 workspace Customize the layout of the
Canterbury Maps Quick Start - Drawing and Printing Tools
Canterbury Maps Canterbury Maps Quick Start - Drawing and Printing Tools Quick Start Guide Standard GIS Viewer 2 Canterbury Maps Quick Start - Drawing and Printing Tools Introduction This document will
Instructions for Creating a Poster for Arts and Humanities Research Day Using PowerPoint
Instructions for Creating a Poster for Arts and Humanities Research Day Using PowerPoint While it is, of course, possible to create a Research Day poster using a graphics editing programme such as Adobe
Designing a Logo. Design 1
Design 1 Learn all about logos, branding, and identity as we show you the secrets of effective logo design. In this tutorial, we ll design logos suitable for business cards and other publications. You
http://netbeans.org/kb/docs/java/gui-functionality.html?print=yes
Page 1 of 6 Introduction to GUI Building Contributed by Saleem Gul and Tomas Pavek, maintained by Ruth Kusterer and Irina Filippova This beginner tutorial teaches you how to create a simple graphical user
Drawing in Microsoft Word
Copyright This document is Copyright 2006 by its contributors as listed in the section titled Authors. You can distribute it and/or modify it under the terms of the Creative Commons Attribution License,
Recipes4Success. Animate a Rocket Ship. Frames 6 - Drawing Tools
Recipes4Success You can use the drawing tools and path animation tools in Frames to create illustrated cartoons. In this Recipe, you will draw and animate a rocket ship. 2014. All Rights Reserved. This
Práctica 1: PL 1a: Entorno de programación MathWorks: Simulink
Práctica 1: PL 1a: Entorno de programación MathWorks: Simulink 1 Objetivo... 3 Introducción Simulink... 3 Open the Simulink Library Browser... 3 Create a New Simulink Model... 4 Simulink Examples... 4
How to build text and objects in the Titler
How to build text and objects in the Titler You can use the Titler in Adobe Premiere Pro to create text and geometric objects. There are three methods for creating text, each capable of producing either
How To Write A Program For The Web In Java (Java)
21 Applets and Web Programming As noted in Chapter 2, although Java is a general purpose programming language that can be used to create almost any type of computer program, much of the excitement surrounding
Draw Guide: A guide to using the Draw component of OpenOffice.org
: A guide to using the Draw component of OpenOffice.org Title: : A guide to using the Draw component of OpenOffice.org Version: 1.0 First edition: October 2004 Contents Overview... vi Copyright and trademark
The JFreeChart Class Library
The JFreeChart Class Library Version 0.9.1 REFERENCE DOCUMENTATION Written by David Gilbert June 14, 2002 c 2000-2002, Simba Management Limited. All rights reserved. Please note that if you choose to use
Welcome to CorelDRAW, a comprehensive vector-based drawing and graphic-design program for the graphics professional.
Working with layout Welcome to CorelDRAW, a comprehensive vector-based drawing and graphic-design program for the graphics professional. In this tutorial, you will create a poster for an imaginary coffee
on - encima de under - debajo de in - en inside - adentro outside - afuera in front of - en frente de behind - atrás next to - al lado between -
on - encima de under - debajo de in - en inside - adentro outside - afuera in front of - en frente de behind - atrás next to - al lado between - entre (dos) among - entre muchos across from - del otro
AP SPANISH LITERATURE 2009 SCORING GUIDELINES
AP SPANISH LITERATURE 2009 SCORING GUIDELINES Question 1: Poetry Analysis 9 Demonstrates Superiority A very well-developed essay that clearly and thoroughly analyzes the vision of la higuera presented
Logo Design Studio Pro Guide
Logo Design Studio Pro Guide This guide is distributed with software that includes an end-user agreement, this guide, as well as the software described in it, is furnished under license and may be used
User s Manual. Edraw Max V7.7. Professional diagram and communicate with essential Edraw solution
V7.7 User s Manual Professional diagram and communicate with essential Edraw solution 2004-2014 EdrawSoft. All right reserved. Edraw and Edraw logo are registered trademarks of EdrawSoft. Contents Professional
Creating a 2D Geometry Model
Creating a 2D Geometry Model This section describes how to build a 2D cross section of a heat sink and introduces 2D geometry operations in COMSOL. At this time, you do not model the physics that describe
Dictionary (catálogo)
Catálogo Oracle Catálogo Esquema: un conjunto de estructuras de datos lógicas (objetos del esquema), propiedad de un usuario Un esquema contiene, entre otros, los objetos siguientes: tablas vistas índices
Working With Animation: Introduction to Flash
Working With Animation: Introduction to Flash With Adobe Flash, you can create artwork and animations that add motion and visual interest to your Web pages. Flash movies can be interactive users can click
What s New V 11. Preferences: Parameters: Layout/ Modifications: Reverse mouse scroll wheel zoom direction
What s New V 11 Preferences: Reverse mouse scroll wheel zoom direction Assign mouse scroll wheel Middle Button as Fine tune Pricing Method (Manufacturing/Design) Display- Display Long Name Parameters:
Part 1 Foundations of object orientation
OFWJ_C01.QXD 2/3/06 2:14 pm Page 1 Part 1 Foundations of object orientation OFWJ_C01.QXD 2/3/06 2:14 pm Page 2 1 OFWJ_C01.QXD 2/3/06 2:14 pm Page 3 CHAPTER 1 Objects and classes Main concepts discussed
Each function call carries out a single task associated with drawing the graph.
Chapter 3 Graphics with R 3.1 Low-Level Graphics R has extensive facilities for producing graphs. There are both low- and high-level graphics facilities. The low-level graphics facilities provide basic
Microsoft Excel 2010 Charts and Graphs
Microsoft Excel 2010 Charts and Graphs Email: [email protected] Web Page: http://training.health.ufl.edu Microsoft Excel 2010: Charts and Graphs 2.0 hours Topics include data groupings; creating
User s Guide to the PGF Package, Version 0.61 http://www.ctan.org/tex-archive/graphics/pgf/
User s Guide to the PGF Package, Version 0.61 http://www.ctan.org/tex-archive/graphics/pgf/ Till Tantau [email protected] April 7, 2004 Contents 1 Introduction 1 1.1 Overview...............................................
Chapter 7 Getting Started with Draw
Getting Started Guide Chapter 7 Getting Started with Draw Vector Drawing in LibreOffice Copyright This document is Copyright 2010 2012 by its contributors as listed below. You may distribute it and/or
Java SE 6 Update 10. la piattaforma Java per le RIA. Corrado De Bari. Sun Microsystems Italia Spa. Software & Java Ambassador
Java SE 6 Update 10 & JavaFX: la piattaforma Java per le RIA Corrado De Bari Software & Java Ambassador Sun Microsystems Italia Spa 1 Agenda What's news in Java Runtime Environment JavaFX Technology Key
11. Applets, normal window applications, packaging and sharing your work
11. Applets, normal window applications, packaging and sharing your work In this chapter Converting Full Screen experiments into normal window applications, Packaging and sharing applications packaging
The Basic Java Applet and JApplet
I2PUJ4 - Chapter 6 - Applets, HTML, and GUI s The Basic Java Applet and JApplet Rob Dempster [email protected] School of Computer Science University of KwaZulu-Natal Pietermaritzburg Campus I2PUJ4 - Chapter
Tips for optimizing your publications for commercial printing
Tips for optimizing your publications for commercial printing If you need to print a publication in higher quantities or with better quality than you can get on your desktop printer, you will want to take
Extending Desktop Applications to the Web
Extending Desktop Applications to the Web Arno Puder San Francisco State University Computer Science Department 1600 Holloway Avenue San Francisco, CA 94132 [email protected] Abstract. Web applications have
Fireworks CS4 Tutorial Part 1: Intro
Fireworks CS4 Tutorial Part 1: Intro This Adobe Fireworks CS4 Tutorial will help you familiarize yourself with this image editing software and help you create a layout for a website. Fireworks CS4 is the
AV-002: Professional Web Component Development with Java
AV-002: Professional Web Component Development with Java Certificación Relacionada: Oracle Certified Web Component Developer Detalles de la Carrera: Duración: 120 horas. Introducción: Java es un lenguaje
Apéndice C: Código Fuente del Programa DBConnection.java
Apéndice C: Código Fuente del Programa DBConnection.java import java.sql.*; import java.io.*; import java.*; import java.util.*; import java.net.*; public class DBConnection Connection pgsqlconn = null;
DIPLOMADO DE JAVA - OCA
DIPLOMADO DE JAVA - OCA TABLA DE CONTENIDO INTRODUCCION... 3 ESTRUCTURA DEL DIPLOMADO... 4 Nivel I:... 4 Fundamentals of the Java Programming Language Java SE 7... 4 Introducing the Java Technology...
Schema XML_PGE.xsd. element GrupoInformes. attribute GrupoInformes/@version. XML_PGE.xsd unqualified qualified http://sgpfc.igae.minhap.
Schema XML_PGE.xsd schema location: attribute form default: element form default: targetnamespace: XML_PGE.xsd unqualified qualified http://sgpfc.igae.minhap.es/xmlpge element GrupoInformes children Informe
Myro Overview. Chapter 1
Myro Overview Below is a chapter by chapter summary of all the Myro features introduced in this text. For a more comprehensive listing of all the Myro features you should consult the Myro Reference Manual.
This is how we will use a formula to find the area of a rectangle. Use the formula A = b h to find the area of the rectangle.
Chapter 13 School-Home Letter area The number of square units needed to cover a flat surface base, b A polygon s side Dear Family, During the next few weeks, our math class will be learning about perimeter
Homework/Program #5 Solutions
Homework/Program #5 Solutions Problem #1 (20 points) Using the standard Java Scanner class. Look at http://natch3z.blogspot.com/2008/11/read-text-file-using-javautilscanner.html as an exampleof using the
Dashboard Skin Tutorial. For ETS2 HTML5 Mobile Dashboard v3.0.2
Dashboard Skin Tutorial For ETS2 HTML5 Mobile Dashboard v3.0.2 Dashboard engine overview Dashboard menu Skin file structure config.json Available telemetry properties dashboard.html dashboard.css Telemetry
Convert 2D to 3D in AutoPOL Bend Simulator
Convert 2D to 3D in AutoPOL Bend Simulator This document gives an introduction of how to convert 2D DXF/DWG files into 3D models in AutoPOL Bend simulator. The AutoPOL 3D concept A 3D model with correct
ClarisWorks 5.0. Graphics
ClarisWorks 5.0 Graphics Level 1 Training Guide DRAFT Instructional Technology Page 1 Table of Contents Objectives... Page 3 Course Description and Organization... Page 4 Technology Requirements... Page
CS170 Lab 11 Abstract Data Types & Objects
CS170 Lab 11 Abstract Data Types & Objects Introduction: Abstract Data Type (ADT) An abstract data type is commonly known as a class of objects An abstract data type in a program is used to represent (the
Interaction: Mouse and Keyboard DECO1012
Interaction: Mouse and Keyboard DECO1012 Interaction Design Interaction Design is the research and development of the ways that humans and computers interact. It includes the research and development of
Creating and Using Links and Bookmarks in PDF Documents
Creating and Using Links and Bookmarks in PDF Documents After making a document into a PDF, there may be times when you will need to make links or bookmarks within that PDF to aid navigation through the
Linkage 3.2. User s Guide
Linkage 3.2 User s Guide David Rector Wednesday, April 06, 2016 Table of Contents Table of Contents... 2 Installation... 3 Running the Linkage Program... 3 Simple Mechanism Tutorial... 5 Mouse Operations...
Step 1: Setting up the Document/Poster
Step 1: Setting up the Document/Poster Upon starting a new document, you will arrive at this setup screen. Today we want a poster that is 4 feet (48 inches) wide and 3 feet tall. Under width, type 48 in
HOWTO annotate documents in Microsoft Word
HOWTO annotate documents in Microsoft Word Introduction This guide will help new users markup, make corrections, and track changes in a Microsoft Word document. These instructions are for Word 2007. The
Adobe Illustrator CS6 Tutorial
Adobe Illustrator CS6 Tutorial GETTING STARTED Adobe Illustrator CS6 is an illustration program that can be used for print, multimedia and online graphics. Whether you plan to design or illustrate multimedia
Como sabemos que lo funcional y lo estético son importantes para ti, te ofrecemos diferentes acabados y colores.
A En Rejiplas fabricamos y comercializamos organizadores y soluciones de espacio para el hogar. Hacemos realidad tus proyectos e ideas optimizando todos los ambientes. Nuestros herrajes y soluciones están
Graphic Design Promotion (63) Scoring Rubric/Rating Sheet
CONTESTANT NUMBER _ RANKING SHEET COMPLETE ONE PER CONTESTANT PRESENTATION SCORE Judge 1 (100 points) Judge 2 (100 points) Judge 3 (100 points) Total Judges Points Divided by # of judges AVERAGE OF JUDGES
Callbacks. Callbacks Copyright 2007 by Ken Slonneger 1
Callbacks Callbacks refer to a mechanism in which a library or utility class provides a service to clients that are unknown to it when it is defined. Suppose, for example, that a server class creates a
2 0 1 6 B r a n d G u i d e
2016 Brand Guide TABLE OF CONTENTS Mission Statement Logo Typography Color Palette Iconography Photography Branding in Use 03 05 10 13 18 21 25 2 MISSION STATEMENT We are your trusted partner and leading
Graphic Design Studio Guide
Graphic Design Studio Guide This guide is distributed with software that includes an end-user agreement, this guide, as well as the software described in it, is furnished under license and may be used
Understand the Sketcher workbench of CATIA V5.
Chapter 1 Drawing Sketches in Learning Objectives the Sketcher Workbench-I After completing this chapter you will be able to: Understand the Sketcher workbench of CATIA V5. Start a new file in the Part
