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

ImagePattern: Image tiled a little bit more then necessary on text

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P5 P5
    • tbd
    • 7u6, 7u40
    • javafx
    • None

      See Text.png. There image pattern applied to text. It's coordinates set to local coordinates of text. Width and height set to half of text's width and height. Also bounds of text is set to visual bounds. So image should be tiled 2 times horizontally and vertically. But you can see red strip on left of 'T' letter and red pixel on right of last 't' letter.

        1. Text.png
          Text.png
          19 kB
        2. TextImagePatternBug.zip
          81 kB
        3. square.png
          square.png
          0.3 kB
        4. TextImagePatternNotBug.java
          3 kB
        5. EllipseImagePatternNotBug.java
          2 kB

            prr Philip Race
            asakharu Aleksandr Sakharuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Imported: