src/share/classes/java/awt/Graphics.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1995, 2013, 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) 1995, 2014, 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
*** 149,159 **** * from the original graphics context. The origin of the new clipping * rectangle is at (<code>0</code>,&nbsp;<code>0</code>), and its size * is specified by the <code>width</code> and <code>height</code> * arguments. * </ul> ! * <p> * @param x the <i>x</i> coordinate. * @param y the <i>y</i> coordinate. * @param width the width of the clipping rectangle. * @param height the height of the clipping rectangle. * @return a new graphics context. --- 149,159 ---- * from the original graphics context. The origin of the new clipping * rectangle is at (<code>0</code>,&nbsp;<code>0</code>), and its size * is specified by the <code>width</code> and <code>height</code> * arguments. * </ul> ! * * @param x the <i>x</i> coordinate. * @param y the <i>y</i> coordinate. * @param width the width of the clipping rectangle. * @param height the height of the clipping rectangle. * @return a new graphics context.