Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4796827

java.awt.geom.Arc2D.Double doc: null reaction

XMLWordPrintable

    • 2d
    • sparc
    • solaris_7



      Name: sdR10048 Date: 12/20/2002


      JDK1.4.2b10 doc says:

      > public Arc2D.Double(Rectangle2D ellipseBounds,
      > double start,
      > double extent,
      > int type)
      >
      > Constructs a new arc, initialized to the specified location, size, angular extents, and closure type.
      > Parameters:
      > ellipseBounds - The bounding rectangle that defines the outer boundary
      > of the full ellipse of which this arc is a partial
      > section.
      > start - The starting angle of the arc in degrees. (Specified in double
      > precision.)
      > extent - The angular extent of the arc in degrees. (Specified in
      > double precision.)
      > type - The closure type for the arc: OPEN, CHORD, or PIE.
      >

      It is not specified here what if 'ellipseBounds' == null.
      Should be stated explicitly as it noted in
      "Requirements for Writing Java API Specifications":
      http://java.sun.com/j2se/javadoc/writingapispecs/index.html#method
      Need for jck test development.
      Since it will touch javadoc CCC request needed.
      ======================================================================

            avu Alexey Ushakov
            dsvsunw Dsv Dsv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: