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

Typo in javadoc of GraphicsContext

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 8, 9, 10
    • javafx
    • x86_64
    • generic

      A DESCRIPTION OF THE PROBLEM :
      In the drawImage(Image, Double, Double, Double, Double) method in javafx.scene.canvas.GraphicsContext,
      the Javadoc states:
      'Draws an image into the given destination rectangle of the canvas. The Image is scaled to fit into the destination rectagnle. A null image value or an image still in progress will be ignored.'
      rectagnle is a typo, it should be rectangle.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Read the javadoc

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The spelling should be correct
      ACTUAL -
      The spelling is incorrect

      FREQUENCY : always


            nlisker Nir Lisker
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: