Optimize non-uniform round rect rendering in Regions

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: fx2.0
    • Component/s: javafx

      Prism graphics provides optimal rendering of the round rect backgrounds and borders of CSS-styled regions when all 4 sides or corner radii are the same.

      But, CSS allows separate radii on each corner of a background and further, separate styles on each side of a background or border. In those cases we instead create a Path (separate radii) or 4 Paths (separate styles), and perform generic path rendering to render their backgrounds and borders.

      It would be nice to implement the following methods on Prism Graphics:

      fillRoundRect(x, y, w, h, ulw, ulh, urw, urh, lrw, lrh, llw, llh);
      drawRoundRect(x, y, w, h, ulw, ulh, urw, urh, lrw, lrh, llw, llh, edgelist);

      (where edgelist has bits set for TOP, RIGHT, BOTTOM, LEFT)

            Assignee:
            Unassigned
            Reporter:
            Jim Graham
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Imported:

                Estimated:
                Original Estimate - 2 weeks
                2w
                Remaining:
                Remaining Estimate - 2 weeks
                2w
                Logged:
                Time Spent - Not Specified
                Not Specified