< prev index next >
src/java.desktop/share/classes/sun/print/ProxyGraphics.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 647,657 ****
* @param yPoints an array of <i>y</i> points
* @param nPoints the total number of points
* @see java.awt.Graphics#drawPolygon(int[], int[], int)
* @since 1.1
*/
! public void drawPolyline(int xPoints[], int yPoints[],
int nPoints) {
g.drawPolyline(xPoints, yPoints, nPoints);
}
/**
--- 647,657 ----
* @param yPoints an array of <i>y</i> points
* @param nPoints the total number of points
* @see java.awt.Graphics#drawPolygon(int[], int[], int)
* @since 1.1
*/
! public void drawPolyline(int[] xPoints, int[] yPoints,
int nPoints) {
g.drawPolyline(xPoints, yPoints, nPoints);
}
/**
*** 671,681 ****
* @param yPoints a an array of {@code y} coordinates.
* @param nPoints a the total number of points.
* @see java.awt.Graphics#fillPolygon
* @see java.awt.Graphics#drawPolyline
*/
! public void drawPolygon(int xPoints[], int yPoints[],
int nPoints) {
g.drawPolygon(xPoints, yPoints, nPoints);
}
/**
--- 671,681 ----
* @param yPoints a an array of {@code y} coordinates.
* @param nPoints a the total number of points.
* @see java.awt.Graphics#fillPolygon
* @see java.awt.Graphics#drawPolyline
*/
! public void drawPolygon(int[] xPoints, int[] yPoints,
int nPoints) {
g.drawPolygon(xPoints, yPoints, nPoints);
}
/**
*** 707,717 ****
* @param xPoints a an array of {@code x} coordinates.
* @param yPoints a an array of {@code y} coordinates.
* @param nPoints a the total number of points.
* @see java.awt.Graphics#drawPolygon(int[], int[], int)
*/
! public void fillPolygon(int xPoints[], int yPoints[],
int nPoints) {
g.fillPolygon(xPoints, yPoints, nPoints);
}
/**
--- 707,717 ----
* @param xPoints a an array of {@code x} coordinates.
* @param yPoints a an array of {@code y} coordinates.
* @param nPoints a the total number of points.
* @see java.awt.Graphics#drawPolygon(int[], int[], int)
*/
! public void fillPolygon(int[] xPoints, int[] yPoints,
int nPoints) {
g.fillPolygon(xPoints, yPoints, nPoints);
}
/**
*** 770,780 ****
* @param x the <i>x</i> coordinate of the baseline of the text
* @param y the <i>y</i> coordinate of the baseline of the text
* @see java.awt.Graphics#drawBytes
* @see java.awt.Graphics#drawString
*/
! public void drawChars(char data[], int offset, int length, int x, int y) {
g.drawChars(data, offset, length, x, y);
}
/**
* Draws the text given by the specified byte array, using this
--- 770,780 ----
* @param x the <i>x</i> coordinate of the baseline of the text
* @param y the <i>y</i> coordinate of the baseline of the text
* @see java.awt.Graphics#drawBytes
* @see java.awt.Graphics#drawString
*/
! public void drawChars(char[] data, int offset, int length, int x, int y) {
g.drawChars(data, offset, length, x, y);
}
/**
* Draws the text given by the specified byte array, using this
*** 787,797 ****
* @param x the <i>x</i> coordinate of the baseline of the text
* @param y the <i>y</i> coordinate of the baseline of the text
* @see java.awt.Graphics#drawChars
* @see java.awt.Graphics#drawString
*/
! public void drawBytes(byte data[], int offset, int length, int x, int y) {
g.drawBytes(data, offset, length, x, y);
}
/**
* Draws as much of the specified image as is currently available.
--- 787,797 ----
* @param x the <i>x</i> coordinate of the baseline of the text
* @param y the <i>y</i> coordinate of the baseline of the text
* @see java.awt.Graphics#drawChars
* @see java.awt.Graphics#drawString
*/
! public void drawBytes(byte[] data, int offset, int length, int x, int y) {
g.drawBytes(data, offset, length, x, y);
}
/**
* Draws as much of the specified image as is currently available.
< prev index next >