ImagePattern coordinates on Text are wrong when using VISUAL_BOUNDS

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: 7u6
    • Component/s: javafx
    • None

      ImagePattern applied to Text doesn't start from the left upper corner of first letter. Instead it starts somewhere higher. In example(TextImagePatternBug.java) you can see a text with proportional image pattern which coordinates are (0,0) and width and height are 0.5. Horizontally it tiled exactly 2 times, but vertically it is cut of on top and bottom.

        1. square.png
          square.png
          0.3 kB
        2. Text.png
          Text.png
          15 kB
        3. TextImagePatternBug.zip
          35 kB

            Assignee:
            Philip Race
            Reporter:
            Aleksandr Sakharuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: