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

spec for java.awt.Graphics.setClip(Shape) method is incomplete

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P5 P5
    • None
    • 1.0, 1.4.0
    • client-libs
    • 2d
    • 1.1
    • sparc
    • solaris_2.6, solaris_7

      Name: bkR10101 Date: 11/12/2001



      Specification for
       public abstract void setClip(Shape clip)
      method states: "Not all objects that implement the Shape interface can be
      used to set the clip"
      but in the same time it says nothing about the criterion to determine
      if an object can be used to set the clip. If there is no such a criterion i.e.
      the object must be Rectangle, why the type of parameter is Shape?

      ======================================================================

            Unassigned Unassigned
            bbksunw Bbk Bbk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: