< prev index next >
src/java.desktop/share/classes/sun/java2d/pipe/OutlineTextRenderer.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
+ * 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
@@ -62,11 +62,11 @@
// Text with a height greater than the threshhold will be
// drawn via this pipe.
public static final int THRESHHOLD = 100;
public void drawChars(SunGraphics2D g2d,
- char data[], int offset, int length,
+ char[] data, int offset, int length,
int x, int y) {
String s = new String(data, offset, length);
drawString(g2d, s, x, y);
}
< prev index next >