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

RFE:Add API to TextLayout to get the pixel bounds

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • client-libs
    • None
    • 2d
    • b53
    • generic
    • generic

      While there is API on TextLayout to get a general bounds, there is no API to get the precise pixel boundsof the text, unlike GlyphVector which does have such an API. Since the pixel bounds can be larger than the general bounds, refreshing the general bounds (say, in a repaint) sometimes can leave 'pixel dust' on the screen.
      ###@###.### 2005-05-16 22:35:34 GMT

            dougfelt Doug Felt (Inactive)
            dougfelt Doug Felt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: