< prev index next >

src/java.desktop/share/classes/java/awt/geom/Arc2D.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 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 --- 1,7 ---- /* ! * Copyright (c) 1997, 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
*** 31,45 **** * {@code Arc2D} is the abstract superclass for all objects that * store a 2D arc defined by a framing rectangle, * start angle, angular extent (length of the arc), and a closure type * ({@code OPEN}, {@code CHORD}, or {@code PIE}). * <p> ! * <a name="inscribes"> * The arc is a partial section of a full ellipse which * inscribes the framing rectangle of its parent</a> {@link RectangularShape}. * ! * <a name="angles"> * The angles are specified relative to the non-square * framing rectangle such that 45 degrees always falls on the line from * the center of the ellipse to the upper right corner of the framing * rectangle. * As a result, if the framing rectangle is noticeably longer along one --- 31,45 ---- * {@code Arc2D} is the abstract superclass for all objects that * store a 2D arc defined by a framing rectangle, * start angle, angular extent (length of the arc), and a closure type * ({@code OPEN}, {@code CHORD}, or {@code PIE}). * <p> ! * <a id="inscribes"> * The arc is a partial section of a full ellipse which * inscribes the framing rectangle of its parent</a> {@link RectangularShape}. * ! * <a id="angles"> * The angles are specified relative to the non-square * framing rectangle such that 45 degrees always falls on the line from * the center of the ellipse to the upper right corner of the framing * rectangle. * As a result, if the framing rectangle is noticeably longer along one
< prev index next >