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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.4

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            duke J. Duke (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: