Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-9675

Can't force contours to be drawn for TBox with fill style

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Clarified
    • Affects Version/s: 6.14/02
    • Fix Version/s: None
    • Component/s: Graphics
    • Labels:
      None
    • Environment:

      macos 10.13.6
      ROOT 6.14/02 (via homebrew)
      python 2.7.15

    • Development:

      Description

      According to the doc for TBox:Draw(), one can force contours to be drawn for TBox-es with fill style set by using the draw option "l". However, this doesn't seem to work for me. The attached python script reproduces the issue.

      Sorry if I misunderstood something!

      Best,
      Christian

      PS. I was a bit confused by the documentation for this function at first, and I think it could benefit from some punctionation improvements:

      If the box has no fill style (ie fill style=0), the box contour is drawn. If the box has a fill style, the box contour is not drawn by default. To force the contour to be drawn, specify option "l"

        Attachments

          Activity

            People

            • Assignee:
              couet Olivier Couet
              Reporter:
              cohm Christian Ohm
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Actual End: