< prev index next >
src/java.desktop/share/classes/sun/print/ProxyGraphics2D.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 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
@@ -660,11 +660,11 @@
* @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[],
+ public void drawPolyline(int[] xPoints, int[] yPoints,
int nPoints) {
mGraphics.drawPolyline(xPoints, yPoints, nPoints);
}
/**
@@ -685,11 +685,11 @@
* @param nPoints a the total number of points.
* @see java.awt.Graphics#fillPolygon
* @see java.awt.Graphics#drawPolyline
* @since 1.0
*/
- public void drawPolygon(int xPoints[], int yPoints[],
+ public void drawPolygon(int[] xPoints, int[] yPoints,
int nPoints) {
mGraphics.drawPolygon(xPoints, yPoints, nPoints);
}
/**
@@ -711,11 +711,11 @@
* @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)
* @since 1.0
*/
- public void fillPolygon(int xPoints[], int yPoints[],
+ public void fillPolygon(int[] xPoints, int[] yPoints,
int nPoints) {
mGraphics.fillPolygon(xPoints, yPoints, nPoints);
}
/**
< prev index next >