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

Graphics.drawArc, Graphics.fillArc angle arguments are poorly named, described

XMLWordPrintable

    • sparc
    • solaris_2.4

      Graphics.drawArc() and fillArc() take their angle arguments in degrees, while the trig functions traffic in radians. That's not a big problem, but for the fact that {draw,fill}Arc's documentation and arg names don't specify that they use degrees, leading to confusion on the part of developers.

            duke J. Duke
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: